mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
Alternatives for setowner none if the username is taken
This commit is contained in:
parent
532fd09800
commit
1643399fc6
@ -41,7 +41,7 @@ public class Owner extends SetCommand {
|
||||
name = name == null ? value : name;
|
||||
}
|
||||
if (uuid == null) {
|
||||
if (value.equalsIgnoreCase("none")) {
|
||||
if (value.equalsIgnoreCase("none") || value.equalsIgnoreCase("null") || value.equalsIgnoreCase("-")) {
|
||||
Set<Plot> connected = plot.getConnectedPlots();
|
||||
plot.unlinkPlot(false, false);
|
||||
for (Plot current : connected) {
|
||||
|
Loading…
Reference in New Issue
Block a user