mirror of
https://github.com/GTNewHorizons/WirelessCraftingTerminal.git
synced 2026-11-18 11:19:33 +00:00
Added null-check for compatibility with OpenComputers' robots picking up items.
This commit is contained in:
1 parent
39bcad2158
commit
beb3d65669
1 file changed
+1
-1
@@ -190,7 +190,7 @@ public class CommonProxy {
|
||||
ItemStack stack = itemEntity.getEntityItem();
|
||||
InventoryPlayer playerInv = player.inventory;
|
||||
World world = player.getEntityWorld();
|
||||
if (world.isRemote) {
|
||||
if (playerInv == null || world.isRemote) {
|
||||
return;
|
||||
}
|
||||
if (Reference.WCT_BOOSTER_ENABLED && !Reference.WCT_EASYMODE_ENABLED) {
|
||||
|
||||
Reference in new issue
Block a user