adding requested changes

This commit is contained in:
Boy 2021-05-16 14:31:45 +02:00
parent 5f2623d709
commit 02f596fc3a
2 changed files with 6 additions and 1 deletions

View File

@ -253,7 +253,7 @@ public class MapItemManager implements Listener {
}
if (!Permissions.PLACE_SPLATTER_MAP.grantedTo(player)) {
player.sendMessage(ChatColor.RED + "You do not have permission to place splatter maps.");
player.sendMessage(I.t(ChatColor.RED + "You do not have permission to place splatter maps."));
event.setCancelled(true);
return;
}

View File

@ -30,6 +30,7 @@ permissions:
imageonmap.explore: true
imageonmap.exploreother: false
imageonmap.rename: true
imageonmap.placesplattermap: true
imageonmap.removesplattermap: true
imageonmap.delete: true
imageonmap.deleteother: false
@ -86,6 +87,10 @@ permissions:
description: "Allows you to delete a map a player rendered in the past."
default: op
imageonmap.placesplattermap:
description: "Allows you to place a splatter map."
default: true
imageonmap.removesplattermap:
description: "Allows you to remove a splatter map from a wall by sneaking and breaking a map."
default: true