Fixed #48
This commit is contained in:
parent
c55603a1f0
commit
706d51a21b
|
@ -59,7 +59,7 @@ public class ItemChestChanger extends Item
|
||||||
chestContents = new ItemStack[((TileEntityChest) te).getSizeInventory()];
|
chestContents = new ItemStack[((TileEntityChest) te).getSizeInventory()];
|
||||||
for (int i = 0; i < chestContents.length; i++)
|
for (int i = 0; i < chestContents.length; i++)
|
||||||
chestContents[i] = ((TileEntityChest) te).getStackInSlot(i);
|
chestContents[i] = ((TileEntityChest) te).getStackInSlot(i);
|
||||||
newchest = IronChestType.makeEntity(IronChestType.IRON.ordinal());
|
newchest = IronChestType.makeEntity(this.getTargetChestOrdinal(this.type.ordinal()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue