This commit is contained in:
boy0001 2015-02-20 19:55:04 +11:00
parent 0dc0b29ea7
commit 439a1d440a
29 changed files with 60 additions and 61 deletions

View file

@ -51,7 +51,7 @@ public class Delete extends SubCommand {
return !sendMessage(plr, C.NO_PLOT_PERMS);
}
assert plot != null;
final PlotWorld pWorld = PlotSquared.getWorldSettings(plot.world);
final PlotWorld pWorld = PlotSquared.getPlotWorld(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) {