McJtyMods / AquaMunda

Aqua Munda is a mod about water and purification
MIT License
3 stars 3 forks source link

Server crash when connecting a hose to a sprinkler in 1.11.2 #5

Closed thejims closed 7 years ago

thejims commented 7 years ago

Server instantly crashed when right clicking a hose on a sprinkler, repeat crashes on restarts

Crash pastebin: http://pastebin.com/ScDpg1Mc

Crash snippet: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:653) at java.util.ArrayList.get(ArrayList.java:429) at mcjty.aquamunda.immcraft.LiquidCableHandler.tick(LiquidCableHandler.java:30) at mcjty.immcraft.blocks.bundle.BundleTE.lambda$update$0(BundleTE.java:43) at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374) at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) at mcjty.immcraft.blocks.bundle.BundleTE.func_73660_a(BundleTE.java:43) at net.minecraft.world.World.func_72939_s(World.java:1801) at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:621) at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:720) at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:384) at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:624) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482) at java.lang.Thread.run(Thread.java:745)

McJty commented 7 years ago

Sorry for the slow reaction. Was very busy with other things. I'll try to check this out

McJty commented 7 years ago

Fixed next release