This commit is contained in:
boy0001 2015-02-19 22:39:23 +11:00
parent aefd148bcd
commit 96d2688035
8 changed files with 390 additions and 390 deletions

View file

@ -53,7 +53,7 @@ public class Delete extends SubCommand {
return !sendMessage(plr, C.NO_PLOT_PERMS);
}
assert plot != null;
final PlotWorld pWorld = PlotSquared.getWorldSettings(plot.getWorld());
final PlotWorld pWorld = PlotSquared.getWorldSettings(plot.world);
if (PlotSquared.useEconomy && pWorld.USE_ECONOMY && (plot != null) && plot.hasOwner() && plot.getOwner().equals(UUIDHandler.getUUID(plr))) {
final double c = pWorld.SELL_PRICE;
if (c > 0d) {