heightmapinterface permission

Heightmapinterface permission added as you can download it on any server
This commit is contained in:
NotMyFault 2018-10-04 20:38:08 +02:00
parent e57ac75a50
commit 05f8b758d8
1 changed files with 1 additions and 0 deletions

View File

@ -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);