Remove LEGACY items from list
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
5dcb083954
Commit
f71d732a47
@ -114,6 +114,8 @@ class GUI {
|
||||
private static void changeItem(Player p, Schematic schem){
|
||||
List<SWListInv.SWListEntry<Material>> materials = new LinkedList<>();
|
||||
for(Material material : Material.values()){
|
||||
if(material.name().startsWith("LEGACY_"))
|
||||
continue;
|
||||
SWItem item = new SWItem(material, "§7" + material.name());
|
||||
if(item.getItemMeta() != null && material.isItem())
|
||||
materials.add(new SWListInv.SWListEntry<>(item, material));
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren