remove plr name from msg packets
All checks were successful
/ Auto-Build-App (push) Successful in 2m8s

This commit is contained in:
pietru 2024-12-22 21:11:59 +01:00
parent 0e8f3c5a74
commit 3575d56063
5 changed files with 0 additions and 6 deletions

View file

@ -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);
}
}

View file

@ -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);
}
}

View file

@ -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);
}
}

View file

@ -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);
}
}

View file

@ -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);
}
}