mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 23:28:35 +01:00
Fixed Phantomface Crash Closes #82
This commit is contained in:
parent
16f5d83454
commit
81130ac0b9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue