diff --git a/Plugins/Mineplex.Core/src/mineplex/core/gadget/gadgets/gamemodifiers/GameModifierType.java b/Plugins/Mineplex.Core/src/mineplex/core/gadget/gadgets/gamemodifiers/GameModifierType.java deleted file mode 100644 index 018092c15..000000000 --- a/Plugins/Mineplex.Core/src/mineplex/core/gadget/gadgets/gamemodifiers/GameModifierType.java +++ /dev/null @@ -1,76 +0,0 @@ -package mineplex.core.gadget.gadgets.gamemodifiers; - -import java.util.List; - -import org.bukkit.Material; -import org.bukkit.inventory.ItemStack; - -import mineplex.core.common.util.C; -import mineplex.core.common.util.LineFormat; -import mineplex.core.common.util.UtilText; -import mineplex.core.itemstack.ItemStackFactory; - -/** - * The game modifier type. Normal a specific game. - */ - -public enum GameModifierType -{ - - MineStrike("MineStrike", new String[]{"Apply custom gun models and skin to use ingame"}, Material.TNT, 0), - SurvivalGames("Survival Games", new String[]{"Placeholder"}, Material.DIAMOND_SWORD, 0, true), - Bridges("Bridges", new String[]{"Placeholder"}, Material.IRON_PICKAXE, 0, true), - - GemHunters("Gem Hunters", new String[] { "" }, Material.EMERALD, 0) - - ; - - private String _name; - private List _desc; - private Material _mat; - private int _data; - private boolean _hasKits = false; - - GameModifierType(String name, String[] desc, Material mat, int data, boolean hasKits) - { - this(name, desc, mat, data); - _hasKits = hasKits; - } - - GameModifierType(String name, String[] desc, Material mat, int data) - { - _name = name; - _mat = mat; - - _desc = UtilText.splitLines(desc, LineFormat.LORE); - for(int i = 0; i < _desc.size(); i++) if(!_desc.get(i).contains("ยง.")) _desc.set(i, C.cGray + _desc.get(i)); - - _data = data; - } - - public ItemStack getItemStack() - { - return ItemStackFactory.Instance.CreateStack(_mat, (byte) _data, 1, C.cGreen + C.Bold + _name, _desc); - } - - public String getName() - { - return _name; - } - - public List getDesc() - { - return _desc; - } - - public int getData() - { - return _data; - } - - public boolean hasKits() - { - return _hasKits; - } - -}