This commit is contained in:
Jesse Boyd
2019-07-17 16:11:55 +10:00
parent cedb261313
commit 3113d8dd69
13 changed files with 73 additions and 72 deletions

View File

@ -114,7 +114,7 @@ public class UtilityCommands {
desc = "Generate the heightmap interface: https://github.com/boy0001/HeightMap"
)
@CommandPermissions("fawe.admin")
public void heightmapInterface(Player player, @Optional("100") int min, @Optional("200") int max) throws IOException {
public void heightmapInterface(Player player, @Arg(name = "min", desc = "int", def = "100") int min, @Arg(name = "max", desc = "int", def = "200") int max) throws IOException {
player.print("Please wait while we generate the minified heightmaps.");
File srcFolder = MainUtil.getFile(Fawe.imp().getDirectory(), Settings.IMP.PATHS.HEIGHTMAP);