diff --git a/src/main/java/net/pietru/cookie_utils/mixins/BlockBreakMixin.java b/src/main/java/net/pietru/cookie_utils/mixins/BlockBreakMixin.java index b73da3c..cf5188e 100644 --- a/src/main/java/net/pietru/cookie_utils/mixins/BlockBreakMixin.java +++ b/src/main/java/net/pietru/cookie_utils/mixins/BlockBreakMixin.java @@ -40,7 +40,6 @@ public class BlockBreakMixin { ci.cancel(); MessagePacket packet = new MessagePacket("[Server] " + (is_not_reloading ? "Sorry, but this area is under protection." : "Sorry but you can't do this action right now. [Config Reload In Progress]")); - packet.playerUniqueId=account.getUniqueId(); packet.setupAndSend(ctx); } else if (Setup.setups.containsKey(account.getUniqueId())){ Setup setup = Setup.setups.get(account.getUniqueId()); @@ -50,7 +49,6 @@ public class BlockBreakMixin { setup.run_step(); MessagePacket packet = new MessagePacket("[Server] " + setup.get_step_hint()); - packet.playerUniqueId = account.getUniqueId(); packet.setupAndSend(ctx); } } diff --git a/src/main/java/net/pietru/cookie_utils/mixins/BlockPlaceMixin.java b/src/main/java/net/pietru/cookie_utils/mixins/BlockPlaceMixin.java index 0637ed5..9cd63b8 100644 --- a/src/main/java/net/pietru/cookie_utils/mixins/BlockPlaceMixin.java +++ b/src/main/java/net/pietru/cookie_utils/mixins/BlockPlaceMixin.java @@ -47,7 +47,6 @@ public class BlockPlaceMixin { identity.getPlayer().inventory.merge(new ItemStack(targetBlockState.getItem()), ItemMergeStrategy.ONLY_ONE_SLOT); MessagePacket packet = new MessagePacket("[Server] " + (is_not_reloading ? "Sorry, but this area is under protection." : "Sorry but you can't do this action right now. [Config Reload In Progress]")); - packet.playerUniqueId=account.getUniqueId(); packet.setupAndSend(ctx); } } diff --git a/src/main/java/net/pietru/cookie_utils/mixins/InteractBlockMixin.java b/src/main/java/net/pietru/cookie_utils/mixins/InteractBlockMixin.java index 63a48fc..10bcd8d 100644 --- a/src/main/java/net/pietru/cookie_utils/mixins/InteractBlockMixin.java +++ b/src/main/java/net/pietru/cookie_utils/mixins/InteractBlockMixin.java @@ -38,7 +38,6 @@ public class InteractBlockMixin { ci.cancel(); MessagePacket packet = new MessagePacket("[Server] " + (is_not_reloading ? "Sorry, but this area is under protection." : "Sorry but you can't do this action right now. [Config Reload In Progress]")); - packet.playerUniqueId=account.getUniqueId(); packet.setupAndSend(ctx); } } diff --git a/src/main/java/net/pietru/cookie_utils/mixins/MessagePacketMixin.java b/src/main/java/net/pietru/cookie_utils/mixins/MessagePacketMixin.java index d0f8744..961f5b6 100644 --- a/src/main/java/net/pietru/cookie_utils/mixins/MessagePacketMixin.java +++ b/src/main/java/net/pietru/cookie_utils/mixins/MessagePacketMixin.java @@ -67,7 +67,6 @@ public class MessagePacketMixin { setup.run_step(); MessagePacket packet = new MessagePacket("[Server] " + setup.get_step_hint()); - packet.playerUniqueId = account.getUniqueId(); packet.setupAndSend(ctx); } } diff --git a/src/main/java/net/pietru/cookie_utils/mixins/PlayerPositionMixin.java b/src/main/java/net/pietru/cookie_utils/mixins/PlayerPositionMixin.java index 70596f1..69f426d 100644 --- a/src/main/java/net/pietru/cookie_utils/mixins/PlayerPositionMixin.java +++ b/src/main/java/net/pietru/cookie_utils/mixins/PlayerPositionMixin.java @@ -53,7 +53,6 @@ public class PlayerPositionMixin { plr_packet.setupAndSend(ctx); MessagePacket msg_packet = new MessagePacket("[Server] " + (is_not_reloading ? "Sorry, but you can't enter this area." : "Sorry but you can't do this action right now. [Config Reload In Progress]")); - msg_packet.playerUniqueId=account.getUniqueId(); msg_packet.setupAndSend(ctx); } }