From a834adc8c9c513c1442086604b497bd4547e0039 Mon Sep 17 00:00:00 2001 From: JaTiTV Date: Sun, 9 Jul 2023 16:35:17 +0200 Subject: [PATCH] Update T2CitemBuilder.java --- .../net/t2code/t2codelib/SPIGOT/api/items/T2CitemBuilder.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/t2code/t2codelib/SPIGOT/api/items/T2CitemBuilder.java b/src/main/java/net/t2code/t2codelib/SPIGOT/api/items/T2CitemBuilder.java index 2ea1212..e339ceb 100644 --- a/src/main/java/net/t2code/t2codelib/SPIGOT/api/items/T2CitemBuilder.java +++ b/src/main/java/net/t2code/t2codelib/SPIGOT/api/items/T2CitemBuilder.java @@ -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++) { -- 2.34.1