mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-30 02:05:41 +00:00
Update command /purgeall to not remove Itemframes & paintings
This commit is contained in:
parent
f507dbdfe6
commit
ae31e02118
@ -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)
|
public boolean run(CommandSender sender, Player playerSender, Command cmd, String commandLabel, String[] args, boolean senderIsConsole)
|
||||||
{
|
{
|
||||||
FUtil.adminAction(sender.getName(), "Purging all player data", true);
|
FUtil.adminAction(sender.getName(), "Purging all player data", true);
|
||||||
|
|
||||||
|
//TODO Make Purgeall not include Item frames and Paintings.
|
||||||
// Purge entities
|
// Purge entities
|
||||||
for (World world : Bukkit.getWorlds())
|
for (World world : Bukkit.getWorlds())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user