Fixed strange compile issue.

This commit is contained in:
Brianna 2020-02-01 06:49:07 -05:00
parent 7abb34afe4
commit 574049d39a

View File

@ -171,7 +171,7 @@ public class EpicAnchors extends SongodaPlugin {
}
public ItemStack makeAnchorItem(int ticks) {
ItemStack item = getCoreConfig().getMaterial("Main.Anchor Block Material", CompatibleMaterial.END_PORTAL_FRAME).getItem();
ItemStack item = Settings.MATERIAL.getMaterial().getItem();
ItemMeta meta = item.getItemMeta();
meta.setDisplayName(Methods.formatName(ticks, true));
ArrayList<String> lore = new ArrayList<>();