3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-24 18:10:08 +01:00

Merge pull request #7 from N0tMyFaultOG/master

Heightmapinterface permission and reverting some previous settings
Dieser Commit ist enthalten in:
Jesse Boyd 2018-10-13 15:12:58 +11:00 committet von GitHub
Commit 1b7ac7a0bc
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23
2 geänderte Dateien mit 3 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -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 {
}
}
}

Datei anzeigen

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