mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +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
@@ -43,7 +43,7 @@ public class PacketJetpackData implements IMessageHandler<JetpackDataMessage, IM
|
||||
{
|
||||
ItemStack stack = player.getItemStackFromSlot(EntityEquipmentSlot.CHEST);
|
||||
|
||||
if(stack != null && stack.getItem() instanceof ItemJetpack)
|
||||
if(!stack.isEmpty() && stack.getItem() instanceof ItemJetpack)
|
||||
{
|
||||
if(!message.value)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user