mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
bypass owner check for download
This commit is contained in:
parent
355e16fe92
commit
f6540bbfcb
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ public class Download extends SubCommand {
|
|||
MainUtil.sendMessage(player, C.DONE_NOT_DONE);
|
||||
return false;
|
||||
}
|
||||
if ((!plot.isOwner(player.getUUID()))) {
|
||||
if ((!plot.isOwner(player.getUUID())) && !Permissions.hasPermission(player, C.PERMISSION_ADMIN.s())) {
|
||||
MainUtil.sendMessage(player, C.NO_PLOT_PERMS);
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue