Fix translate args

This commit is contained in:
Jesse Boyd
2019-12-25 02:34:20 +00:00
parent 50c19f5a1c
commit 9efdd886c5
13 changed files with 139 additions and 53 deletions

View File

@@ -552,11 +552,11 @@ public class SchematicCommands {
if (oldFirst && newFirst) {
throw new StopExecutionException(TextComponent.of("Cannot sort by oldest and newest."));
}
String pageCommand = arguments.get();
String pageCommand = "/" + arguments.get();
LocalConfiguration config = worldEdit.getConfiguration();
File dir = worldEdit.getWorkingDirectoryFile(config.saveDir);
String schemCmd = "/schematic";
String schemCmd = "//schematic";
String loadSingle = schemCmd + " load";
String loadMulti = schemCmd + " loadall";
String unload = schemCmd + " unload";