mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-09 22:13:12 +00:00
Fixed help menu/plot delete -> plot exit not being called
This commit is contained in:
parent
bddaadd31d
commit
cb10f39753
2 changed files with 5 additions and 2 deletions
|
@ -196,7 +196,7 @@ public class MainCommand implements CommandExecutor, TabCompleter {
|
|||
|
||||
final int start = page * perPage;
|
||||
for (int x = start; x < max; x++) {
|
||||
cmd = subCommands.get(x);
|
||||
cmd = commands.get(x);
|
||||
String s = t(C.HELP_PAGE.s());
|
||||
s = s.replaceAll("%alias%", cmd.alias);
|
||||
s = s.replaceAll("%usage%", cmd.usage.contains("plot") ? cmd.usage : "/plot " + cmd.usage);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue