Fix 1.8->1.9 item rewriting (#3859)

This commit is contained in:
RK_01 2024-05-17 18:17:44 +02:00 committed by GitHub
parent 5a1a22a007
commit 0427aec4ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -130,7 +130,7 @@ public class ItemPacketRewriter1_9 extends ItemRewriter<ClientboundPackets1_8, S
entityTracker.syncShieldWithSword();
}
handleItemToServer(wrapper.user(), stack);
handleItemToClient(wrapper.user(), stack);
});
// Brewing patch
handler(wrapper -> {
@ -491,4 +491,4 @@ public class ItemPacketRewriter1_9 extends ItemRewriter<ClientboundPackets1_8, S
}
return item;
}
}
}