Fix a few issues
This commit is contained in:
parent
527ec1b171
commit
8c8f6c32aa
2 changed files with 14 additions and 2 deletions
|
@ -188,11 +188,11 @@ public class TileEntityChemicalDissolutionChamber extends TileEntityElectricBloc
|
|||
@Override
|
||||
public int[] getAccessibleSlotsFromSide(int side)
|
||||
{
|
||||
if(side == MekanismUtils.getLeft(facing).ordinal())
|
||||
if(side == MekanismUtils.getLeft(facing).ordinal() || side == 1)
|
||||
{
|
||||
return new int[] {1};
|
||||
}
|
||||
else if(side == 0 || side == 1)
|
||||
else if(side == 0)
|
||||
{
|
||||
return new int[] {0};
|
||||
}
|
||||
|
|
|
@ -137,6 +137,18 @@ public abstract class TileEntityElectricBlock extends TileEntityContainerBlock i
|
|||
|
||||
super.onChunkUnload();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void invalidate()
|
||||
{
|
||||
super.invalidate();
|
||||
|
||||
if(!worldObj.isRemote)
|
||||
{
|
||||
Mekanism.ic2Registered.remove(Coord4D.get(this));
|
||||
MinecraftForge.EVENT_BUS.post(new EnergyTileUnloadEvent(this));
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void readFromNBT(NBTTagCompound nbtTags)
|
||||
|
|
Loading…
Reference in a new issue