Skip to content

Commit f3dd857

Browse files
Update to Paper 1.21.5-76
1 parent 6c37e9c commit f3dd857

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

invui/src/main/java/xyz/xenondevs/invui/internal/menu/CustomContainerMenu.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,19 +222,19 @@ public void sendChangesToRemote() {
222222

223223
for (int i = 0; i < items.size(); i++) {
224224
var item = items.get(i);
225-
if (!remoteItems.get(i).matches(item, HASH_GENERATOR, false)) {
225+
if (!remoteItems.get(i).matches(item, HASH_GENERATOR)) {
226226
packets.add(new ClientboundContainerSetSlotPacket(containerId, incrementStateId(), i, item.copy()));
227227
remoteItems.set(i, HashedStack.create(item, HASH_GENERATOR));
228228
}
229229
}
230230

231231
var offHand = serverPlayer.getOffhandItem();
232-
if (!remoteOffHand.matches(offHand, HASH_GENERATOR, false)) {
232+
if (!remoteOffHand.matches(offHand, HASH_GENERATOR)) {
233233
packets.add(new ClientboundContainerSetSlotPacket(serverPlayer.inventoryMenu.containerId, incrementStateId(), OFF_HAND_SLOT, offHand.copy()));
234234
remoteOffHand = HashedStack.create(offHand, HASH_GENERATOR);
235235
}
236236

237-
if (!remoteCarried.matches(carried, HASH_GENERATOR, false)) {
237+
if (!remoteCarried.matches(carried, HASH_GENERATOR)) {
238238
packets.add(new ClientboundSetCursorItemPacket(carried.copy()));
239239
remoteCarried = HashedStack.create(carried, HASH_GENERATOR);
240240
}

0 commit comments

Comments
 (0)