From 7605548e0c24a47b37a4b1bad6f0516028a2e479 Mon Sep 17 00:00:00 2001 From: Pharma <34245836+logansportfolio@users.noreply.github.com> Date: Sun, 15 Jan 2023 12:26:36 -0600 Subject: [PATCH] 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. --- .../totalfreedom/totalfreedommod/command/Command_purgeall.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_purgeall.java b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_purgeall.java index efee00ac..2bedd05d 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_purgeall.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_purgeall.java @@ -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()) {