Remade Faction GUI

This commit is contained in:
Driftay
2020-01-04 12:23:10 -05:00
parent ce1004d318
commit 978782e2fe
7 changed files with 207 additions and 754 deletions

View File

@@ -2,7 +2,7 @@ package com.massivecraft.factions.cmd;
import com.massivecraft.factions.FactionsPlugin;
import com.massivecraft.factions.struct.Permission;
import com.massivecraft.factions.zcore.fupgrades.FUpgradesGUI;
import com.massivecraft.factions.zcore.fupgrades.FUpgradeFrame;
import com.massivecraft.factions.zcore.util.TL;
public class CmdUpgrades extends FCommand {
@@ -19,7 +19,6 @@ public class CmdUpgrades extends FCommand {
.playerOnly()
.memberOnly()
.build();
}
@Override
@@ -28,7 +27,7 @@ public class CmdUpgrades extends FCommand {
context.fPlayer.msg(TL.COMMAND_UPGRADES_DISABLED);
return;
}
new FUpgradesGUI().openMainMenu(context.fPlayer);
new FUpgradeFrame(context.faction).buildGUI(context.fPlayer);
}
@Override