Fix MaterialCommand
Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
2c42dfafe9
Commit
680d72c2be
@ -69,7 +69,7 @@ public class MaterialCommand extends SWCommand {
|
||||
if (value.isFlammable()) {
|
||||
lore.add(BauSystem.MESSAGE.parse("MATERIAL_FLAMMABLE", p));
|
||||
}
|
||||
SWItem swItem = new SWItem(value.isItem() ? value : Material.GHAST_TEAR, "§e" + value.name(), lore, false, clickType -> {});
|
||||
SWItem swItem = new SWItem(value.isItem() || value == Material.AIR ? value : Material.GHAST_TEAR, "§e" + value.name(), lore, false, clickType -> {});
|
||||
swListEntries.add(new SWListInv.SWListEntry<>(swItem, value));
|
||||
}
|
||||
SWListInv<Material> materialSWListInv = new SWListInv<>(p, BauSystem.MESSAGE.parse("MATERIAL_INV_NAME", p), false, swListEntries, (clickType, material) -> {});
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren