mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2024-12-22 04:37:42 +01:00
Fixed startup NPE
This commit is contained in:
parent
58a0721eda
commit
4176ff0b5b
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user