From 05f8b758d881a84f956a845b453454f4bbe9fccd Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Thu, 4 Oct 2018 20:38:08 +0200 Subject: [PATCH] heightmapinterface permission Heightmapinterface permission added as you can download it on any server --- .../main/java/com/sk89q/worldedit/command/UtilityCommands.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/java/com/sk89q/worldedit/command/UtilityCommands.java b/core/src/main/java/com/sk89q/worldedit/command/UtilityCommands.java index d9eeb7d8..8e9c35e6 100644 --- a/core/src/main/java/com/sk89q/worldedit/command/UtilityCommands.java +++ b/core/src/main/java/com/sk89q/worldedit/command/UtilityCommands.java @@ -169,6 +169,7 @@ public class UtilityCommands extends MethodCommands { aliases = {"/heightmapinterface"}, desc = "Generate the heightmap interface: https://github.com/boy0001/HeightMap" ) + @CommandPermissions("fawe.admin") public void heightmapInterface(FawePlayer player, @Optional("100") int min, @Optional("200") int max) throws IOException { player.sendMessage("Please wait while we generate the minified heightmaps."); File srcFolder = MainUtil.getFile(Fawe.imp().getDirectory(), Settings.IMP.PATHS.HEIGHTMAP);