mirror of
https://github.com/darksaid98/Flashback.git
synced 2026-12-01 22:16:01 +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;
|
||||
}
|
||||
|
||||
if (clientboundContainerSetSlotPacket.getContainerId() == -2) {
|
||||
if (clientboundContainerSetSlotPacket.getContainerId() == 0) {
|
||||
int slot = clientboundContainerSetSlotPacket.getSlot();
|
||||
ItemStack itemStack = clientboundContainerSetSlotPacket.getItem();
|
||||
player.getInventory().setItem(slot, itemStack);
|
||||
|
||||
Reference in new issue
Block a user