mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-12-28 20:19:09 +01:00
Suggest //schem show all <args>
if no schems are found
This commit is contained in:
parent
e1df0ac8d1
commit
89bd2c0025
@ -516,6 +516,17 @@ public class SchematicCommands extends MethodCommands {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
long total = count.longValue();
|
||||||
|
if (total == 0) {
|
||||||
|
if (args.getJoinedStrings(0).toLowerCase().startsWith("all")) {
|
||||||
|
BBC.SCHEMATIC_NONE.send(player);
|
||||||
|
} else {
|
||||||
|
String joined = args.getJoinedStrings(0);
|
||||||
|
String cmd = "/" + Commands.getAlias(SchematicCommands.class, "schematic") + " " + getCommand().aliases()[0] + " all " + joined;
|
||||||
|
BBC.HELP_SUGGEST.send(player, joined, cmd);
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
visExtent.bind();
|
visExtent.bind();
|
||||||
visExtent.update();
|
visExtent.update();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user