From 31c787099d19ce7617ee0d09da5fdb9d0b280d0d Mon Sep 17 00:00:00 2001 From: cheaterpaul Date: Tue, 1 Oct 2024 12:35:20 +0200 Subject: [PATCH] mark sundamage package play only close #1424 --- .../de/teamlapen/vampirism/network/ModPacketDispatcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/teamlapen/vampirism/network/ModPacketDispatcher.java b/src/main/java/de/teamlapen/vampirism/network/ModPacketDispatcher.java index 615fe588f..e235f0fcc 100755 --- a/src/main/java/de/teamlapen/vampirism/network/ModPacketDispatcher.java +++ b/src/main/java/de/teamlapen/vampirism/network/ModPacketDispatcher.java @@ -31,7 +31,7 @@ public static void registerPackets(PayloadRegistrar registrar) { registrar.playToClient(ClientboundTaskStatusPacket.TYPE, ClientboundTaskStatusPacket.CODEC, (msg, context) -> ClientPayloadHandler.handleTaskStatusPacket(msg, context)); registrar.playToClient(ClientboundTaskPacket.TYPE, ClientboundTaskPacket.CODEC, (msg, context) -> ClientPayloadHandler.handleTaskPacket(msg, context)); registrar.playToClient(ClientboundUpdateMultiBossEventPacket.TYPE, ClientboundUpdateMultiBossEventPacket.CODEC, (msg, context) -> ClientPayloadHandler.handleUpdateMultiBossInfoPacket(msg, context)); - registrar.commonToClient(ClientboundSundamagePacket.TYPE, ClientboundSundamagePacket.CODEC, (msg, context) -> ClientPayloadHandler.handleSundamageData(msg, context)); + registrar.playToClient(ClientboundSundamagePacket.TYPE, ClientboundSundamagePacket.CODEC, (msg, context) -> ClientPayloadHandler.handleSundamageData(msg, context)); registrar.playToClient(ClientboundBossEventSoundPacket.TYPE, ClientboundBossEventSoundPacket.CODEC, (msg, context) -> ClientPayloadHandler.handleBossEventSound(msg, context)); registrar.playToClient(ClientboundSkillTreePacket.TYPE, ClientboundSkillTreePacket.CODEC, (msg, context) -> ClientPayloadHandler.handleSkillTreePacket(msg, context)); registrar.playToClient(ClientboundUpdateGarlicEmitterPacket.TYPE, ClientboundUpdateGarlicEmitterPacket.CODEC, (msg, context) -> ClientPayloadHandler.handleUpdateGarlicEmitterPacket(msg, context));