Just in case

This commit is contained in:
Jesse Boyd 2016-06-23 13:14:29 +10:00
parent 1643399fc6
commit 56000d60e7

View File

@ -40,7 +40,7 @@ public class Owner extends SetCommand {
name = UUIDHandler.getName(uuid);
name = name == null ? value : name;
}
if (uuid == null) {
if (uuid == null || value.equalsIgnoreCase("-")) {
if (value.equalsIgnoreCase("none") || value.equalsIgnoreCase("null") || value.equalsIgnoreCase("-")) {
Set<Plot> connected = plot.getConnectedPlots();
plot.unlinkPlot(false, false);