mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-28 19:54:43 +02:00
@ -134,12 +134,9 @@ public class Info extends SubCommand {
|
||||
full = false;
|
||||
}
|
||||
MainUtil.format(info, plot, player, full, new RunnableVal<String>() {
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
MainUtil.sendMessage(player, C.PLOT_INFO_HEADER);
|
||||
MainUtil.sendMessage(player, value, false);
|
||||
MainUtil.sendMessage(player, C.PLOT_INFO_FOOTER);
|
||||
MainUtil.sendMessage(player, C.PLOT_INFO_HEADER.s() + '\n' + value + '\n' + C.PLOT_INFO_FOOTER.s(), false);
|
||||
}
|
||||
});
|
||||
return true;
|
||||
|
@ -320,6 +320,9 @@ public class MainCommand extends CommandManager<PlotPlayer> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public int handle(final PlotPlayer plr, final String input) {
|
||||
// Clear perm caching //
|
||||
plr.deleteMeta("perm");
|
||||
////////////////////////
|
||||
final String[] parts = input.split(" ");
|
||||
String[] args;
|
||||
|
@ -331,7 +331,7 @@ public class list extends SubCommand {
|
||||
}
|
||||
}
|
||||
if (sort) {
|
||||
plots = PS.get().sortPlots(plots, SortType.CREATION_DATE_TIMESTAMP, world);
|
||||
plots = PS.get().sortPlots(plots, SortType.CREATION_DATE, world);
|
||||
}
|
||||
if (page < 0) {
|
||||
page = 0;
|
||||
|
Reference in New Issue
Block a user