mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-23 13:29:40 +00:00
Merge remote-tracking branch 'upstream/development' into development
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user