diff --git a/gradle.properties b/gradle.properties index fe295a8..956434a 100644 --- a/gradle.properties +++ b/gradle.properties @@ -9,7 +9,7 @@ yarn_mappings=1.20.1+build.10 loader_version=0.16.7 # Mod Properties -mod_version=1.14.0 +mod_version=1.14.1 maven_group=cc.reconnected archives_base_name=rcc-server diff --git a/src/main/java/cc/reconnected/server/mixin/ServerPlayNetworkManagerMixin.java b/src/main/java/cc/reconnected/server/mixin/ServerPlayNetworkManagerMixin.java index 735497e..33d1d5b 100644 --- a/src/main/java/cc/reconnected/server/mixin/ServerPlayNetworkManagerMixin.java +++ b/src/main/java/cc/reconnected/server/mixin/ServerPlayNetworkManagerMixin.java @@ -31,7 +31,7 @@ public abstract class ServerPlayNetworkManagerMixin { private void rccServer$updatePlayerList(CallbackInfo ci) { if(RccServer.CONFIG.enableTabList()) { var packet = new PlayerListS2CPacket(EnumSet.of(PlayerListS2CPacket.Action.UPDATE_DISPLAY_NAME, PlayerListS2CPacket.Action.UPDATE_LISTED), List.of(this.player)); - this.sendPacket(packet); + this.server.getPlayerManager().sendToAll(packet); } }