Compare commits

...

2 Commits

Author SHA1 Message Date
3a3c9b3208 Merge pull request 'Update T2CitemBuilder.java' (#21) from 15.6 into development
Reviewed-on: #21
2023-07-09 14:35:52 +00:00
a834adc8c9 Update T2CitemBuilder.java 2023-07-09 16:35:17 +02:00

View File

@ -29,6 +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("");
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++) {