mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
Fix schematic pasting
This commit is contained in:
parent
4f43788307
commit
9e0c226632
3 changed files with 4 additions and 2 deletions
|
@ -85,7 +85,7 @@ public class SchematicCmd extends SubCommand {
|
|||
return;
|
||||
}
|
||||
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) {
|
||||
SchematicCmd.this.running = false;
|
||||
if (value) {
|
||||
|
|
|
@ -1437,7 +1437,7 @@ public class Plot {
|
|||
e.printStackTrace();
|
||||
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) {
|
||||
if (value) {
|
||||
MainUtil.sendMessage(player, C.SCHEMATIC_PASTE_SUCCESS);
|
||||
|
|
|
@ -231,6 +231,8 @@ public abstract class SchematicHandler {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
queue.enqueue();
|
||||
/* }
|
||||
if (!chunks.isEmpty()) {
|
||||
this.run();
|
||||
|
|
Loading…
Reference in a new issue