This commit is contained in:
Jesse Boyd
2016-04-13 02:41:40 +10:00
parent 588f5d7ebc
commit 76c3879c1f
4 changed files with 4 additions and 7 deletions

View File

@ -44,7 +44,7 @@ public class Owner extends SetCommand {
if (uuid == null) {
if (value.equalsIgnoreCase("none")) {
HashSet<Plot> connected = plot.getConnectedPlots();
plot.unlink();
plot.unlinkPlot(false, false);
for (Plot current : connected) {
current.unclaim();
current.removeSign();

View File

@ -235,8 +235,7 @@ public abstract class EventUtil {
value = (HashSet<PlotBlock>) flag.getValue();
}
if (value == null || !value.contains(PlotBlock.EVERYTHING) && !value.contains(block.getPlotBlock())) {
// TODO: fix the commented dead code
return true; //!(!false || MainUtil.sendMessage(pp, C.FLAG_TUTORIAL_USAGE, C.FLAG_USE.s() + "/" + C.FLAG_DEVICE_INTERACT.s()));
return false; //!(!false || MainUtil.sendMessage(pp, C.FLAG_TUTORIAL_USAGE, C.FLAG_USE.s() + "/" + C.FLAG_DEVICE_INTERACT.s()));
}
return true;
}