Fixed startup NPE

This commit is contained in:
Jules 2023-10-22 20:43:35 +02:00
parent 58a0721eda
commit 4176ff0b5b

View File

@ -34,9 +34,9 @@ public class LoreBuilder {
public LoreBuilder(@NotNull Collection<String> 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));