9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-30 12:29:15 +00:00
This commit is contained in:
XiaoMoMi
2025-04-04 20:02:52 +08:00
parent f5f504c5a9
commit 2f8fe82372
3 changed files with 5 additions and 3 deletions

View File

@@ -82,7 +82,7 @@ public class BukkitNetworkManager implements NetworkManager, Listener, PluginMes
this.packetConsumer = FastNMS.INSTANCE::sendPacket;
this.packetsConsumer = ((serverPlayer, packets) -> {
Object bundle = FastNMS.INSTANCE.constructor$ClientboundBundlePacket(packets);
packetConsumer.accept(serverPlayer, bundle);
this.packetConsumer.accept(serverPlayer, bundle);
});
this.immediatePacketConsumer = (serverPlayer, packet) -> {
try {