Minefactory Reloaded

Minefactory Reloaded

23M Downloads

Crash when placing filled tank near not filled

NIK220V opened this issue ยท 0 comments

commented

When you place a filled tank near not-filled one it crashes. Everything.
Hope you can fix this?

Description: Exception in server tick loop

java.lang.ArrayIndexOutOfBoundsException: -1
	at powercrystals.minefactoryreloaded.tile.tank.FluidTankMulti.fill(FluidTankMulti.java:107)
	at powercrystals.minefactoryreloaded.tile.tank.FluidTankMulti.addTank(FluidTankMulti.java:36)
	at powercrystals.minefactoryreloaded.tile.tank.TankNetwork.nodeAdded(TankNetwork.java:164)
	at powercrystals.minefactoryreloaded.tile.tank.TankNetwork.addNode(TankNetwork.java:32)
	at powercrystals.minefactoryreloaded.tile.tank.TileEntityTank.firstTick(TileEntityTank.java:82)
	at powercrystals.minefactoryreloaded.net.ConnectionHandler.tick(ConnectionHandler.java:47)
	at cpw.mods.fml.common.eventhandler.ASMEventHandler_192_ConnectionHandler_tick_ServerTickEvent.invoke(.dynamic)
	at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
	at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140)
	at cpw.mods.fml.common.FMLCommonHandler.onPostServerTick(FMLCommonHandler.java:251)
	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:862)
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:669)
	at java.lang.Thread.run(Thread.java:745)