Merge remote-tracking branch 'upstream/development' into development

This commit is contained in:
TehStoneMan committed 2015-04-24 11:02:08 +10:00
commit f8d6993f0f
1 file changed
+1 -1
@@ -18,7 +18,7 @@ public abstract class EnergyAcceptorWrapper implements IStrictEnergyAcceptor
public static EnergyAcceptorWrapper get(TileEntity tileEntity)
{
if(tileEntity.getWorldObj() == null)
if(tileEntity != null && tileEntity.getWorldObj() == null)
{
return null;
}