Get basic functionality working for the Laser Amplifier. No mode changing yet, and using the laser model in lieu of the actual one.

This commit is contained in:
Ben Spiers committed 2014-07-30 22:26:03 +01:00
1 parent bfe3b545d2
commit b62c5c8a3a
10 files changed
+403 -22

No files matched your search

@@ -306,7 +306,10 @@ public class ItemBlockMachine extends ItemBlock implements IEnergizedItem, ISpec
((TileEntityElectricChest)tileEntity).password = getPassword(stack);
}
((ISustainedInventory)tileEntity).setInventory(getInventory(stack));
if(tileEntity instanceof ISustainedInventory)
{
((ISustainedInventory)tileEntity).setInventory(getInventory(stack));
}
if(tileEntity instanceof TileEntityElectricBlock)
{