mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 11:55:38 +01:00
Fixes #1928
This commit is contained in:
parent
f479a70594
commit
67a70d4ade
@ -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 New Issue
Block a user