fix
This commit is contained in:
1 parent
b2bde4b836
commit
d580399368
1 file changed
+1
-1
@@ -279,7 +279,7 @@ public class EntityPlayerActionPack
|
||||
|
||||
public void setSlot(int slot)
|
||||
{
|
||||
player.inventory.selectedSlot = slot-1;
|
||||
player.getInventory().selectedSlot = slot-1;
|
||||
player.networkHandler.sendPacket(new HeldItemChangeS2CPacket(slot-1));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user