mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-19 05:45:01 +00:00
Added broadcast to /spurgeall
This commit is contained in:
parent
4aebf33006
commit
31b5c99007
@ -1,5 +1,8 @@
|
|||||||
package me.StevenLawson.TotalFreedomMod.Commands;
|
package me.StevenLawson.TotalFreedomMod.Commands;
|
||||||
|
|
||||||
|
import me.StevenLawson.TotalFreedomMod.TFM_Util;
|
||||||
|
|
||||||
|
import org.bukkit.ChatColor;
|
||||||
import org.bukkit.command.Command;
|
import org.bukkit.command.Command;
|
||||||
import org.bukkit.command.CommandSender;
|
import org.bukkit.command.CommandSender;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
@ -21,9 +24,11 @@ public class Command_spurgeall extends TFM_Command
|
|||||||
server.dispatchCommand(sender, "blockcmd");
|
server.dispatchCommand(sender, "blockcmd");
|
||||||
server.dispatchCommand(sender, "halt purge");
|
server.dispatchCommand(sender, "halt purge");
|
||||||
server.dispatchCommand(sender, "lockup purge");
|
server.dispatchCommand(sender, "lockup purge");
|
||||||
|
|
||||||
|
TFM_Util.bcastMsg("[Purge] Purged!", ChatColor.LIGHT_PURPLE);
|
||||||
//If I'm missing any, lemme know. Or just add it yourself.
|
//If I'm missing any, lemme know. Or just add it yourself.
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user