Fixed all issues with F chest, and a massive increase in performance due to /f chest only serializing / deserializing on startup/shutdown instead of realtime.

This commit is contained in:
ProSavage
2018-09-09 12:40:45 -05:00
parent 9795d3c158
commit 4ad062dddb
7 changed files with 74 additions and 50 deletions

View File

@@ -27,6 +27,7 @@ public class CmdChest extends FCommand {
@Override
public void perform() {
if (!P.p.getConfig().getBoolean("fchest.Enabled")) {
fme.sendMessage("This command is disabled!");
return;
@@ -40,7 +41,7 @@ public class CmdChest extends FCommand {
}
}
me.openInventory(fme.getFaction().getChest());
me.openInventory(fme.getFaction().getChestInventory());
}