This commit is contained in:
Jesse Boyd 2018-01-10 17:50:38 +11:00
parent 02b358133e
commit b239cb4a18
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F
2 changed files with 3 additions and 1 deletions

View File

@ -91,7 +91,7 @@ public class Load extends SubCommand {
sendMessage(player, C.SCHEMATIC_INVALID, "non-existent or not in gzip format");
return;
}
SchematicHandler.manager.paste(schematic, plot, 0, 0, 0, true, new RunnableVal<Boolean>() {
SchematicHandler.manager.paste(schematic, plot, 0, 0, 0, false, new RunnableVal<Boolean>() {
@Override
public void run(Boolean value) {
plot.removeRunning();

View File

@ -64,6 +64,8 @@ public class Save extends SubCommand {
public void run() {
String time = (System.currentTimeMillis() / 1000) + "";
Location[] corners = plot.getCorners();
corners[0].setY(0);
corners[1].setY(255);
int size = (corners[1].getX() - corners[0].getX()) + 1;
PlotId id = plot.getId();
String world = plot.getArea().toString().replaceAll(";", "-").replaceAll("[^A-Za-z0-9]", "");