mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
Fixes #1928
This commit is contained in:
parent
f479a70594
commit
67a70d4ade
1 changed files with 2 additions and 0 deletions
|
@ -73,9 +73,11 @@ public class Owner extends SetCommand {
|
|||
}
|
||||
final String finalName = name;
|
||||
final UUID finalUUID = uuid;
|
||||
boolean removeDenied = plot.isDenied(finalUUID);
|
||||
Runnable run = new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
if (removeDenied) plot.removeDenied(finalUUID);
|
||||
plot.setOwner(finalUUID);
|
||||
plot.setSign(finalName);
|
||||
MainUtil.sendMessage(player, C.SET_OWNER);
|
||||
|
|
Loading…
Reference in a new issue