mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-06-11 21:43:54 +00:00
Improved entitywiper. Fixes #512
This commit is contained in:
@ -15,7 +15,7 @@ public class Command_entitywipe extends FreedomCommand
|
||||
public boolean run(CommandSender sender, Player playerSender, Command cmd, String commandLabel, String[] args, boolean senderIsConsole)
|
||||
{
|
||||
FUtil.adminAction(sender.getName(), "Removing all server entities.", true);
|
||||
msg((plugin.ew.wipeEntities(true, true)) + " entities removed.");
|
||||
msg((plugin.ew.wipeEntities()) + " entities removed.");
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -19,7 +19,7 @@ public class Command_purgeall extends FreedomCommand
|
||||
FUtil.adminAction(sender.getName(), "Purging all player data", true);
|
||||
|
||||
// Purge entities
|
||||
plugin.ew.wipeEntities(true, true);
|
||||
plugin.ew.wipeEntities();
|
||||
|
||||
for (Player player : server.getOnlinePlayers())
|
||||
{
|
||||
|
Reference in New Issue
Block a user