mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-06 04:23:26 +00:00
Nothing is implemented, but it can compile and "run" on sponge now.
This commit is contained in:
parent
904b75a7cd
commit
89e3bd97f0
35 changed files with 915 additions and 253 deletions
|
@ -51,7 +51,7 @@ public class Delete extends SubCommand {
|
|||
if (!MainUtil.getTopPlot(plot).equals(MainUtil.getBottomPlot(plot))) {
|
||||
return !sendMessage(plr, C.UNLINK_REQUIRED);
|
||||
}
|
||||
if (((!plot.hasOwner() || !plot.isOwner(UUIDHandler.getUUIDWrapper().getUUID(plr)))) && !Permissions.hasPermission(plr, "plots.admin.command.delete")) {
|
||||
if (((!plot.hasOwner() || !plot.isOwner(plr.getUUID()))) && !Permissions.hasPermission(plr, "plots.admin.command.delete")) {
|
||||
return !sendMessage(plr, C.NO_PLOT_PERMS);
|
||||
}
|
||||
final PlotWorld pWorld = PS.get().getPlotWorld(plot.world);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue