Permalink
Browse files

Fixed a class cast exception with cryotubes

  • Loading branch information...
Ri5ux committed Sep 25, 2018
1 parent 0440bbb commit 89354241ed49cb308127b539a974a0cb7a9b9fa1
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/org/avp/tile/TileEntityCryostasisTube.java
@@ -146,7 +146,7 @@ public void readFromNBT(NBTTagCompound nbt)
NBTTagCompound nbtStack = nbt.getCompoundTag("StasisItemstack");
this.stasisItemstack = new ItemStack(nbtStack);
if (this.stasisEntity == null && this.stasisItemstack != null)
if (this.stasisEntity == null && this.stasisItemstack != ItemStack.EMPTY)
{
this.stasisEntity = ((ItemEntitySummoner) this.stasisItemstack.getItem()).createNewEntity(this.world);
}

0 comments on commit 8935424

Please sign in to comment.