mirror of
https://github.com/darksaid98/Flashback.git
synced 2026-12-02 22:17:10 +00:00
1.21.4: Fix inventory not being updated with record hotbar
This commit is contained in:
1 parent
95e33277f7
commit
9376f0b423
1 file changed
+1
-1
@@ -470,7 +470,7 @@ public class ReplayGamePacketHandler implements ClientGamePacketListener {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (clientboundContainerSetSlotPacket.getContainerId() == -2) {
|
if (clientboundContainerSetSlotPacket.getContainerId() == 0) {
|
||||||
int slot = clientboundContainerSetSlotPacket.getSlot();
|
int slot = clientboundContainerSetSlotPacket.getSlot();
|
||||||
ItemStack itemStack = clientboundContainerSetSlotPacket.getItem();
|
ItemStack itemStack = clientboundContainerSetSlotPacket.getItem();
|
||||||
player.getInventory().setItem(slot, itemStack);
|
player.getInventory().setItem(slot, itemStack);
|
||||||
|
|||||||
Reference in new issue
Block a user