mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-06-11 13:33:54 +00:00
Wipe worldguard regions when the flatlands is wiped.
This commit is contained in:
@ -20,6 +20,8 @@ public class Command_wipeflatlands extends FreedomCommand
|
||||
|
||||
FUtil.bcastMsg("Server is going offline for flatlands wipe.", ChatColor.GRAY);
|
||||
|
||||
plugin.wgb.wipeRegions(plugin.wm.flatlands.getWorld());
|
||||
|
||||
for (Player player : server.getOnlinePlayers())
|
||||
{
|
||||
player.kickPlayer("Server is going offline for flatlands wipe, come back in a few minutes.");
|
||||
|
Reference in New Issue
Block a user