mirror of
https://github.com/songoda/EpicAnchors.git
synced 2024-11-22 18:15:53 +01:00
Fixed strange compile issue.
This commit is contained in:
parent
7abb34afe4
commit
574049d39a
@ -171,7 +171,7 @@ public class EpicAnchors extends SongodaPlugin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public ItemStack makeAnchorItem(int ticks) {
|
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();
|
ItemMeta meta = item.getItemMeta();
|
||||||
meta.setDisplayName(Methods.formatName(ticks, true));
|
meta.setDisplayName(Methods.formatName(ticks, true));
|
||||||
ArrayList<String> lore = new ArrayList<>();
|
ArrayList<String> lore = new ArrayList<>();
|
||||||
|
Loading…
Reference in New Issue
Block a user