mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-02-12 03:59:22 +00:00
plot delete + econ
This commit is contained in:
parent
007ae51bde
commit
5926a90cec
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ public class Delete extends SubCommand {
|
||||||
}
|
}
|
||||||
assert plot != null;
|
assert plot != null;
|
||||||
final PlotWorld pWorld = PlotMain.getWorldSettings(plot.getWorld());
|
final PlotWorld pWorld = PlotMain.getWorldSettings(plot.getWorld());
|
||||||
if (PlotMain.useEconomy && pWorld.USE_ECONOMY) {
|
if (PlotMain.useEconomy && pWorld.USE_ECONOMY && plot!=null && plot.hasOwner()) {
|
||||||
final double c = pWorld.SELL_PRICE;
|
final double c = pWorld.SELL_PRICE;
|
||||||
if (c > 0d) {
|
if (c > 0d) {
|
||||||
final Economy economy = PlotMain.economy;
|
final Economy economy = PlotMain.economy;
|
||||||
|
|
Loading…
Reference in a new issue