mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 06:42:56 +00:00
Fix more ItemStack issues
This commit is contained in:
1 parent
cf6a04a65d
commit
6eb8e59f3c
68 files changed
+207
-211
No files matched your search
@@ -454,7 +454,7 @@ public class CommonProxy implements IGuiProvider
|
||||
case 14:
|
||||
ItemStack itemStack = player.getHeldItem(EnumHand.values()[pos.getX()]);
|
||||
|
||||
if(itemStack != null && itemStack.getItem() instanceof ItemPortableTeleporter)
|
||||
if(!itemStack.isEmpty() && itemStack.getItem() instanceof ItemPortableTeleporter)
|
||||
{
|
||||
return new ContainerNull();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user