This commit is contained in:
boy0001
2015-07-21 13:56:49 +10:00
parent 783355b356
commit e6ea62ad1e
5 changed files with 28 additions and 13 deletions

View File

@ -84,9 +84,6 @@ public class Deny extends SubCommand {
plot.addDenied(uuid);
EventUtil.manager.callDenied(plr, plot, uuid, true);
MainUtil.sendMessage(plr, C.DENIED_ADDED);
// if (!uuid.equals(DBFunc.everyone)) {
// PS.get().IMP.handleKick(uuid, C.YOU_GOT_DENIED);
//}
if (!uuid.equals(DBFunc.everyone)) {
handleKick(uuid, plot);
}

View File

@ -130,7 +130,6 @@ public class FlagCmd extends SubCommand {
return false;
}
MainUtil.sendMessage(player, C.FLAG_ADDED);
APlotListener.manager.plotEntry(player, plot);
return true;
}
case "remove": {
@ -168,7 +167,6 @@ public class FlagCmd extends SubCommand {
}
}
MainUtil.sendMessage(player, C.FLAG_REMOVED);
APlotListener.manager.plotEntry(player, plot);
return true;
}
case "add": {
@ -208,7 +206,6 @@ public class FlagCmd extends SubCommand {
}
DBFunc.setFlags(plot, plot.settings.flags.values());
MainUtil.sendMessage(player, C.FLAG_ADDED);
APlotListener.manager.plotEntry(player, plot);
return true;
}
case "list": {

View File

@ -60,13 +60,6 @@ PlotInventory inv = new PlotInventory(player, 2, "Plot Jukebox") {
else {
FlagManager.addPlotFlag(plot, new Flag(FlagManager.getFlag("music"), id));
}
TaskManager.runTaskLater(new Runnable() {
@Override
public void run() {
PlotListener.manager.plotEntry(player, plot);
}
}, 1);
close();
return false;
}
};