Update to 1.11.2. Untested, still using outdated MCMP

This commit is contained in:
aidancbrady committed 2017-03-25 20:35:26 -04:00
1 parent 2b02042f4c
commit 6a42eb64e3
666 files changed
+11360 -3713

No files matched your search

@@ -29,6 +29,17 @@ import cofh.api.energy.IEnergyReceiver;
})
public class TileEntityAdvancedBoundingBlock extends TileEntityBoundingBlock implements ISidedInventory, IEnergySink, IStrictEnergyAcceptor, IEnergyReceiver, IEnergyProvider, IComputerIntegration, ISpecialConfigData
{
@Override
public boolean isEmpty()
{
if(getInv() == null)
{
return true;
}
return getInv().isEmpty();
}
@Override
public int getSizeInventory()
{
@@ -124,14 +135,14 @@ public class TileEntityAdvancedBoundingBlock extends TileEntityBoundingBlock imp
}
@Override
public boolean isUseableByPlayer(EntityPlayer entityplayer)
public boolean isUsableByPlayer(EntityPlayer entityplayer)
{
if(getInv() == null)
{
return false;
}
return getInv().isUseableByPlayer(entityplayer);
return getInv().isUsableByPlayer(entityplayer);
}
@Override
@@ -381,15 +392,15 @@ public class TileEntityAdvancedBoundingBlock extends TileEntityBoundingBlock imp
return null;
}
TileEntity tile = new Coord4D(mainPos, worldObj).getTileEntity(worldObj);
TileEntity tile = new Coord4D(mainPos, world).getTileEntity(world);
if(!(tile instanceof IAdvancedBoundingBlock))
{
worldObj.setBlockToAir(mainPos);
world.setBlockToAir(mainPos);
return null;
}
return (IAdvancedBoundingBlock)new Coord4D(mainPos, worldObj).getTileEntity(worldObj);
return (IAdvancedBoundingBlock)new Coord4D(mainPos, world).getTileEntity(world);
}
@Override