modify deny msg
Some checks failed
/ Auto-Build-App (push) Has been cancelled

This commit is contained in:
pietru 2025-01-09 11:57:59 +01:00
parent 8d4cbbea70
commit 97b2c44a73

View file

@ -33,7 +33,7 @@ public class ItemThingMixin {
if (!Permissions.has_user_special_perm(account.getUniqueId()) && !can_edit_block(targetBlockPos, "interact", account.getUniqueId())) {
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]"));
MessagePacket packet = new MessagePacket("[Server] " + (is_not_reloading ? "Sorry, you can't use this item here." : "Sorry but you can't do this action right now. [Config Reload In Progress]"));
packet.setupAndSend(ServerSingletons.getConnection(player));
}
}