aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/net/fabricmc/loom/util/Constants.java
diff options
context:
space:
mode:
authorJonas Herzig <jonas@spark-squared.com>2022-02-22 13:44:13 +0100
committerJonas Herzig <jonas@spark-squared.com>2022-02-22 13:50:01 +0100
commitc9c2765a11b5b80ff30ebb4b3e42d0a34fb67c2c (patch)
tree41bc9af73b96cda756a398e8b4e0ff86fb4d901e /src/main/java/net/fabricmc/loom/util/Constants.java
parent5f33bfd5edfdeb29e9f4dd90a6c768825b91e56a (diff)
downloadarchitectury-loom-c9c2765a11b5b80ff30ebb4b3e42d0a34fb67c2c.tar.gz
architectury-loom-c9c2765a11b5b80ff30ebb4b3e42d0a34fb67c2c.tar.bz2
architectury-loom-c9c2765a11b5b80ff30ebb4b3e42d0a34fb67c2c.zip
Fix missing SideOnly annotations
We've assumed that Forge adds its annotation everywhere via its patches but it actually only adds them if a given file needs to have a patch applied for reasons other than just the SideOnly annotation. This would leave some classes/fields/methods without annotation which resulted in an exception when deserializing horses on 1.12.2 (because it references a class which in turn has methods referencing the dedicated server class which is server-only). Instead, we now convert all Fabric annotations (added during merging) to the Forge ones and remove duplicates (where patches also added them).
Diffstat (limited to 'src/main/java/net/fabricmc/loom/util/Constants.java')
0 files changed, 0 insertions, 0 deletions