25w06a
This commit is contained in:
1 parent
85803cecbb
commit
7c73a9344c
9 files changed
+62
-44
No files matched your search
@@ -274,14 +274,14 @@ public class EntityPlayerActionPack
|
||||
else // one slot
|
||||
{
|
||||
if (selectedSlot == -1)
|
||||
selectedSlot = inv.selected;
|
||||
selectedSlot = inv.getSelectedSlot();
|
||||
dropItemFromSlot(selectedSlot, dropAll);
|
||||
}
|
||||
}
|
||||
|
||||
public void setSlot(int slot)
|
||||
{
|
||||
player.getInventory().selected = slot-1;
|
||||
player.getInventory().setSelectedSlot(slot-1);
|
||||
player.connection.send(new ClientboundSetHeldSlotPacket(slot-1));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user