Don't crash in SMP when using key
This commit is contained in:
@@ -82,7 +82,7 @@ public class ItemDDKey extends Item
|
||||
return false;
|
||||
}
|
||||
|
||||
if (player.getItemInUse() != null)
|
||||
if (player.inventory.getCurrentItem() != null)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user