v0.3.9 - Final testing. Message correction!

This commit is contained in:
WildInterloper 2024-03-05 11:02:30 -05:00
parent 8a3ad27fa2
commit db91d3ee1c
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ public class PlayerItems implements Listener {
if (item != null && isBannedItem(item.getType())) {
if (player.hasPermission("nvus.prisoner")) {
event.setCancelled(true);
player.sendMessage(ChatColor.translateAlternateColorCodes('&',"&c&lSorry inmate! &cYou're a &6&lprisoner &cand use this tool!"));
player.sendMessage(ChatColor.translateAlternateColorCodes('&',"&c&lSorry inmate! &cYou're a &6&lprisoner &cand cannot use this tool!"));
}
}
}
@ -48,7 +48,7 @@ public class PlayerItems implements Listener {
if (player.hasPermission("nvus.prisoner")) {
// Cancel the event to prevent interaction with banned items
event.setCancelled(true);
player.sendMessage(ChatColor.translateAlternateColorCodes('&',"&c&lSorry inmate! &cYou're a &6&lprisoner &cand use this tool!"));
player.sendMessage(ChatColor.translateAlternateColorCodes('&',"&c&lSorry inmate! &cYou're a &6&lprisoner &cand cannot use this tool!"));
}
}
}