From 4176ff0b5b002aee1094a8c151e8d463831916c0 Mon Sep 17 00:00:00 2001 From: Jules Date: Sun, 22 Oct 2023 20:43:35 +0200 Subject: [PATCH] Fixed startup NPE --- .../java/net/Indyuce/mmoitems/api/item/build/LoreBuilder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MMOItems-API/src/main/java/net/Indyuce/mmoitems/api/item/build/LoreBuilder.java b/MMOItems-API/src/main/java/net/Indyuce/mmoitems/api/item/build/LoreBuilder.java index 46562e9f..f490b03a 100644 --- a/MMOItems-API/src/main/java/net/Indyuce/mmoitems/api/item/build/LoreBuilder.java +++ b/MMOItems-API/src/main/java/net/Indyuce/mmoitems/api/item/build/LoreBuilder.java @@ -34,9 +34,9 @@ public class LoreBuilder { public LoreBuilder(@NotNull Collection format) { lore.addAll(format); } - +/* @Deprecated - public static final TooltipTexture TEST = new TooltipTexture(new ConfigFile("tooltips").getConfig().getConfigurationSection("test")); + public static final TooltipTexture TEST = new TooltipTexture(new ConfigFile("tooltips").getConfig().getConfigurationSection("test"));*/ public LoreBuilder(@NotNull MMOItem mmoitem) { lore.addAll(MMOItems.plugin.getFormats().getFormat(mmoitem));