mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2025-01-28 11:01:50 +01:00
Change Resume to Continue
This commit is contained in:
parent
9c7fb6a1d3
commit
89739d4efe
@ -98,7 +98,7 @@ public void allowFire(CommandContext args, CommandSender sender) throws CommandE
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Command(aliases = {"halt-activity", "stoplag", "haltactivity"},
|
@Command(aliases = {"halt-activity", "stoplag", "haltactivity"},
|
||||||
desc = "Attempts to cease as much activity in order to stop lag", flags = "ris", max = 0)
|
desc = "Attempts to cease as much activity in order to stop lag", flags = "cis", max = 0)
|
||||||
@CommandPermissions({"worldguard.halt-activity"})
|
@CommandPermissions({"worldguard.halt-activity"})
|
||||||
public void stopLag(CommandContext args, CommandSender sender) throws CommandException {
|
public void stopLag(CommandContext args, CommandSender sender) throws CommandException {
|
||||||
|
|
||||||
@ -113,7 +113,7 @@ public void stopLag(CommandContext args, CommandSender sender) throws CommandExc
|
|||||||
+ "ALL intensive server activity is allowed.");
|
+ "ALL intensive server activity is allowed.");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
configManager.activityHaltToggle = !args.hasFlag('r');
|
configManager.activityHaltToggle = !args.hasFlag('c');
|
||||||
|
|
||||||
if (configManager.activityHaltToggle) {
|
if (configManager.activityHaltToggle) {
|
||||||
if (!(sender instanceof Player)) {
|
if (!(sender instanceof Player)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user