mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-27 21:15:57 +01:00
Change "don't have permission" message for regions.
This commit is contained in:
parent
98bbd900cb
commit
e24d7ccb10
@ -53,7 +53,7 @@ public RegionProtectionListener(WorldGuardPlugin plugin) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void tellErrorMessage(CommandSender sender, Object subject) {
|
private void tellErrorMessage(CommandSender sender, Object subject) {
|
||||||
sender.sendMessage(ChatColor.DARK_RED + "You don't have permission for this area.");
|
sender.sendMessage(ChatColor.DARK_RED + "Sorry, but you are not allowed to do that here.");
|
||||||
}
|
}
|
||||||
|
|
||||||
@EventHandler(ignoreCancelled = true)
|
@EventHandler(ignoreCancelled = true)
|
||||||
|
Loading…
Reference in New Issue
Block a user