From 81130ac0b94644280a62c60024ae21e38f829ff8 Mon Sep 17 00:00:00 2001 From: canitzp Date: Tue, 15 Mar 2016 19:28:54 +0100 Subject: [PATCH] Fixed Phantomface Crash Closes #82 --- .../actuallyadditions/mod/tile/TileEntityPhantomface.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityPhantomface.java b/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityPhantomface.java index 5950f7ab0..f2eb676a1 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityPhantomface.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityPhantomface.java @@ -120,7 +120,7 @@ public class TileEntityPhantomface extends TileEntityInventoryBase implements IP @Override public T getCapability(Capability capability, EnumFacing facing){ - return this.capabilities.getCapability(capability, facing); + return this.capabilities != null ? this.capabilities.getCapability(capability, facing) : super.getCapability(capability, facing); } @Override