Update T2CitemBuilder.java

This commit is contained in:
JaTiTV 2023-07-09 16:35:17 +02:00
parent 290b9264f3
commit a834adc8c9
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ public class T2CitemBuilder {
} else glass = new ItemStack(Material.valueOf(item.toUpperCase().replace(".", "_")));
ItemMeta itemMetaglass = glass.getItemMeta();
assert itemMetaglass != null;
itemMetaglass.setDisplayName("");
glass.setItemMeta(itemMetaglass);
glass.setAmount(1);
for (int i = 0; i < 9 * lines; i++) {