Remove debugging log
This commit is contained in:
parent
12fcaa770c
commit
877691403d
|
@ -37,7 +37,6 @@ public class BCGuiHandler implements IGuiHandler {
|
||||||
|
|
||||||
public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
|
public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
|
||||||
TileEntity tileEntity = world.getTileEntity(x, y, z);
|
TileEntity tileEntity = world.getTileEntity(x, y, z);
|
||||||
System.out.println("Open GUI");
|
|
||||||
if(tileEntity != null) {
|
if(tileEntity != null) {
|
||||||
if(tileEntity instanceof TileEntityBatteryBox) {
|
if(tileEntity instanceof TileEntityBatteryBox) {
|
||||||
return new ContainerBatteryBox(player.inventory, (TileEntityBatteryBox)tileEntity);
|
return new ContainerBatteryBox(player.inventory, (TileEntityBatteryBox)tileEntity);
|
||||||
|
|
|
@ -231,7 +231,6 @@ public class BlockBasicMachine extends BlockAdvanced {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public TileEntity createNewTileEntity(World world, int metadata) {
|
public TileEntity createNewTileEntity(World world, int metadata) {
|
||||||
System.out.println("Create TE");
|
|
||||||
return (TileEntity)(metadata >= 8?new TileEntityElectricFurnace():(metadata >= 4?new TileEntityBatteryBox():new TileEntityCoalGenerator()));
|
return (TileEntity)(metadata >= 8?new TileEntityElectricFurnace():(metadata >= 4?new TileEntityBatteryBox():new TileEntityCoalGenerator()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue