Fixed Phantomface Crash Closes #82

This commit is contained in:
canitzp 2016-03-15 19:28:54 +01:00
parent 16f5d83454
commit 81130ac0b9

View file

@ -120,7 +120,7 @@ public class TileEntityPhantomface extends TileEntityInventoryBase implements IP
@Override @Override
public <T> T getCapability(Capability<T> capability, EnumFacing facing){ public <T> T getCapability(Capability<T> capability, EnumFacing facing){
return this.capabilities.getCapability(capability, facing); return this.capabilities != null ? this.capabilities.getCapability(capability, facing) : super.getCapability(capability, facing);
} }
@Override @Override