Infinity Water Bucket

Infinity Water Bucket

125k Downloads

Latest Forge 1.19.2/3 jar doesn't have fix deployed

AmmoniumX opened this issue ยท 0 comments

commented

Tldr: the current jar for Forge 1.19.2 on curseforge, Infinity-Water-Bucket-1.19-2.0.0.jar, still has code inside InfinityWaterBucket.java that tries to access non-existend method PlayerLoggedInEvent.getPlayer(). This can and has been verified using a java decompiler such as http://www.javadecompilers.com/ , and causes the game to crash for some players with java.lang.NoSuchMethodError: 'net.minecraft.world.entity.player.Player net.minecraftforge.event.entity.player.PlayerEvent$PlayerLoggedInEvent.getPlayer()'. I can see the error was fixed on this commit named "update to 1.19.4", eb3daf0#diff-28354be24a6b5b9b680c7969842b0e66956b36cb796dd506b4b3981f01f25862 , but apparently the jar for 1.19.2/1.19.3 must have been built before that, and were therefore left without said fix.

Solution: thankfully the solution should be easy, just build a jar based on the latest state of the codebase, and upload it for 1.19.2/1.19.3

Crash log: https://pastebin.com/40AGt0T3