mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-06 20:42:55 +00:00
misc fixes
This commit is contained in:
parent
6075de6460
commit
e0970dcdd2
9 changed files with 21 additions and 47 deletions
|
@ -62,7 +62,7 @@ public class Clear extends SubCommand {
|
|||
Runnable runnable = new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
MainUtil.clear(world, plot, true, null);
|
||||
MainUtil.clear(world, plot, plot.owner == null, null);
|
||||
PlotSquared.log("Plot " + plot.getId().toString() + " cleared.");
|
||||
}
|
||||
};
|
||||
|
@ -122,7 +122,7 @@ public class Clear extends SubCommand {
|
|||
@Override
|
||||
public void run() {
|
||||
final long start = System.currentTimeMillis();
|
||||
final boolean result = MainUtil.clearAsPlayer(plot, false, new Runnable() {
|
||||
final boolean result = MainUtil.clearAsPlayer(plot, plot.owner == null, new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
MainUtil.sendMessage(plr, C.CLEARING_DONE, "" + (System.currentTimeMillis() - start));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue