Don't crash in SMP when using key

This commit is contained in:
CannibalVox
2015-03-17 10:40:03 -05:00
parent 44a0d4b3ec
commit d01bbb488e

View File

@@ -82,7 +82,7 @@ public class ItemDDKey extends Item
return false;
}
if (player.getItemInUse() != null)
if (player.inventory.getCurrentItem() != null)
{
return true;
}