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:
Pharma 2023-01-15 12:26:36 -06:00 committed by GitHub
parent e43d883ae0
commit 7605548e0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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())
{