mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
Fix schematic pasting
This commit is contained in:
parent
4f43788307
commit
9e0c226632
@ -85,7 +85,7 @@ public class SchematicCmd extends SubCommand {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
SchematicHandler.manager
|
SchematicHandler.manager
|
||||||
.paste(schematic, plot, 0, 0, 0, true, new RunnableVal<Boolean>() {
|
.paste(schematic, plot, 0, 1, 0, false, new RunnableVal<Boolean>() {
|
||||||
@Override public void run(Boolean value) {
|
@Override public void run(Boolean value) {
|
||||||
SchematicCmd.this.running = false;
|
SchematicCmd.this.running = false;
|
||||||
if (value) {
|
if (value) {
|
||||||
|
@ -1437,7 +1437,7 @@ public class Plot {
|
|||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
SchematicHandler.manager.paste(sch, this, 0, 0, 0, true, new RunnableVal<Boolean>() {
|
SchematicHandler.manager.paste(sch, this, 0, 1, 0, false, new RunnableVal<Boolean>() {
|
||||||
@Override public void run(Boolean value) {
|
@Override public void run(Boolean value) {
|
||||||
if (value) {
|
if (value) {
|
||||||
MainUtil.sendMessage(player, C.SCHEMATIC_PASTE_SUCCESS);
|
MainUtil.sendMessage(player, C.SCHEMATIC_PASTE_SUCCESS);
|
||||||
|
@ -231,6 +231,8 @@ public abstract class SchematicHandler {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
queue.enqueue();
|
||||||
/* }
|
/* }
|
||||||
if (!chunks.isEmpty()) {
|
if (!chunks.isEmpty()) {
|
||||||
this.run();
|
this.run();
|
||||||
|
Loading…
Reference in New Issue
Block a user