Immersive Intelligence

Immersive Intelligence

2M Downloads

[BUG] If you are in Emplacement inventory while it is destroyed, game is bricked

Carvercarver1 opened this issue ยท 0 comments

commented
[Server thread/ERROR] [minecraft/MinecraftServer]: Encountered an unexpected exception
net.minecraft.util.ReportedException: Ticking player
	at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:773) ~[MinecraftServer.class:?]
	at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:668) ~[MinecraftServer.class:?]
	at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:185) ~[chd.class:?]
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
	at java.lang.Thread.run(Unknown Source) [?:1.8.0_45]
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.ArrayList.rangeCheck(Unknown Source) ~[?:1.8.0_45]
	at java.util.ArrayList.get(Unknown Source) ~[?:1.8.0_45]
	at net.minecraft.util.NonNullList.get(SourceFile:44) ~[fi.class:?]
	at blusunrize.immersiveengineering.common.gui.InventoryTile.getStackInSlot(InventoryTile.java:73) ~[InventoryTile.class:?]
	at net.minecraft.inventory.Slot.getStack(Slot.java:60) ~[agr.class:?]
	at net.minecraft.inventory.Container.detectAndSendChanges(Container.java:79) ~[afr.class:?]
	at net.minecraft.entity.player.EntityPlayerMP.onUpdate(EntityPlayerMP.java:324) ~[oq.class:?]
	at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:1996) ~[amu.class:?]
	at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:832) ~[oo.class:?]
	at net.minecraft.world.World.updateEntity(World.java:1958) ~[amu.class:?]
	at net.minecraft.world.WorldServer.tickPlayers(WorldServer.java:642) ~[oo.class:?]
	at net.minecraft.world.World.updateEntities(World.java:1737) ~[amu.class:?]
	at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:613) ~[oo.class:?]
	at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:767) ~[MinecraftServer.class:?]
	... 4 more