Fixed PacketManagerItem not using the correct method
This commit is contained in:
parent
5fd2c955f5
commit
b9fd994e89
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ public class PacketManagerItem implements IPacketManager
|
||||||
}
|
}
|
||||||
else if (slot == -1)
|
else if (slot == -1)
|
||||||
{
|
{
|
||||||
stack = entityPlayer.getHeldItem();
|
stack = entityPlayer.inventory.getCurrentItem();
|
||||||
}
|
}
|
||||||
if (stack != null & stack.getItem() != null)
|
if (stack != null & stack.getItem() != null)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue