Update T2CitemBuilder.java

This commit is contained in:
JaTiTV 2023-07-09 17:01:07 +02:00
parent 3a3c9b3208
commit 610cb74868

View File

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