mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-26 18:54:43 +02:00
Fixes #430
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
@ -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": {
|
||||
|
@ -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;
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user