mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-26 17:05:01 +00:00
Update command purgeall to not remove Itemframes and Paintings
OPs have been talking about purgeall and how it removes item frames and paintings. I am not advanced enough to exclude them myself.
This commit is contained in:
parent
e43d883ae0
commit
7605548e0c
@ -20,7 +20,8 @@ public class Command_purgeall extends FreedomCommand
|
||||
public boolean run(CommandSender sender, Player playerSender, Command cmd, String commandLabel, String[] args, boolean senderIsConsole)
|
||||
{
|
||||
FUtil.adminAction(sender.getName(), "Purging all player data", true);
|
||||
|
||||
|
||||
// TODO Make Itemframes and Paintings not be cleared by purgeall.
|
||||
// Purge entities
|
||||
for (World world : Bukkit.getWorlds())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user