This commit is contained in:
Jesse Boyd 2018-01-13 12:47:02 +11:00
parent b239cb4a18
commit 0e183f5627
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -4,6 +4,7 @@ import com.intellectualcrafters.plot.PS;
import com.intellectualcrafters.plot.config.C;
import com.intellectualcrafters.plot.config.Settings;
import com.intellectualcrafters.plot.object.Plot;
import com.intellectualcrafters.plot.object.PlotArea;
import com.intellectualcrafters.plot.object.PlotId;
import com.intellectualcrafters.plot.object.PlotPlayer;
import com.intellectualcrafters.plot.object.RunnableVal;
@ -91,7 +92,8 @@ 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, false, new RunnableVal<Boolean>() {
PlotArea area = plot.getArea();
SchematicHandler.manager.paste(schematic, plot, 0, area.MIN_BUILD_HEIGHT, 0, false, new RunnableVal<Boolean>() {
@Override
public void run(Boolean value) {
plot.removeRunning();