diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/command/OptionsCommands.java b/worldedit-core/src/main/java/com/sk89q/worldedit/command/OptionsCommands.java index 949e392d9..74ff80ade 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/command/OptionsCommands.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/command/OptionsCommands.java @@ -264,7 +264,7 @@ public class OptionsCommands { ItemType type = ItemTypes.get(query); if (type != null) { - actor.print(BBC.getPrefix() + "#" + type.getId() + " (" + type.getName() + ")"); + actor.print(BBC.getPrefix() + type.getId() + " (" + type.getName() + ")"); } else { if (query.length() <= 2) { actor.printError("Enter a longer search string (len > 2)."); @@ -314,4 +314,4 @@ public class OptionsCommands { } -} \ No newline at end of file +} diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/command/UtilityCommands.java b/worldedit-core/src/main/java/com/sk89q/worldedit/command/UtilityCommands.java index f69f4d310..fa52cc05a 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/command/UtilityCommands.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/command/UtilityCommands.java @@ -175,6 +175,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);