9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-30 12:29:15 +00:00

Merge branch 'Xiao-MoMi:dev' into dev

This commit is contained in:
jhqwqmc
2025-04-04 20:26:08 +08:00
committed by GitHub
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 {