lucaargolo / fabric-seasons

A simple mod for Minecraft that adds seasons to the game, changing biomes as you play.
Mozilla Public License 2.0
64 stars 47 forks source link

IllegalAccessError on setHasPrecipitation method, v2.0+1.19.4 #111

Closed Emafire003 closed 1 year ago

Emafire003 commented 1 year ago

The error that is thrown:


[22.04 12:57:29] [Server] net.minecraft.class_Exception ticking world
[22.04 12:57:29] [Server]   at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:905) ~[server-intermediary.jar:?]
[22.04 12:57:29] [Server]   at net.minecraft.class_3176.method_3813(class_3176.java:283) ~[server-intermediary.jar:?]
[22.04 12:57:29] [Server]   at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:828) ~[server-intermediary.jar:?]
[22.04 12:57:29] [Server]   at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:675) ~[server-intermediary.jar:?]
[22.04 12:57:29] [Server]   at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:266) ~[server-intermediary.jar:?]
[22.04 12:57:29] [Server]   at java.lang.Thread.run(Thread.java:833) ~[?:?]
[22.04 12:57:29] [Server] Caused byjava.lang.IllegalAccessError: Update to non-static final field net.minecraft.class_1959$class_5482.comp_1187 attempted from a different method (setHasPrecipitation) than the initializer method <init> 
[22.04 12:57:29] [Server]   at net.minecraft.class_1959$class_5482.setHasPrecipitation(class_1959.java) ~[server-intermediary.jar:?]
[22.04 12:57:29] [Server]   at io.github.lucaargolo.seasons.FabricSeasons.injectBiomeTemperature(FabricSeasons.java:250) ~[fabric-seasons-2.0+1.19.4.jar:?]
[22.04 12:57:29] [Server]   at net.minecraft.class_4538.method_23753(class_4538.java:1529) ~[server-intermediary.jar:?]
[22.04 12:57:29] [Server]   at net.minecraft.class_1948.method_8664(class_1948.java:373) ~[server-intermediary.jar:?]
[22.04 12:57:29] [Server]   at net.minecraft.class_1948.method_24930(class_1948.java:266) ~[server-intermediary.jar:?]
[22.04 12:57:29] [Server]   at net.minecraft.class_1948.method_8663(class_1948.java:213) ~[server-intermediary.jar:?]
[22.04 12:57:29] [Server]   at net.minecraft.class_1948.method_27821(class_1948.java:201) ~[server-intermediary.jar:?]
[22.04 12:57:29] [Server]   at net.minecraft.class_3215.method_14161(class_3215.java:377) ~[server-intermediary.jar:?]
[22.04 12:57:29] [Server]   at net.minecraft.class_3215.method_12127(class_3215.java:324) ~[server-intermediary.jar:?]
[22.04 12:57:29] [Server]   at net.minecraft.class_3218.method_18765(class_3218.java:319) ~[server-intermediary.jar:?]
[22.04 12:57:29] [Server]   at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:901) ~[server-intermediary.jar:?]
[22.04 12:57:29] [Server]   ... more```