Added YearMonth for Dinnerbone Morph
This commit is contained in:
parent
eadbb22de9
commit
06a05080ed
@ -1,5 +1,7 @@
|
|||||||
package mineplex.core.gadget.gadgets.morph;
|
package mineplex.core.gadget.gadgets.morph;
|
||||||
|
|
||||||
|
import java.time.Month;
|
||||||
|
import java.time.YearMonth;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
@ -37,7 +39,7 @@ public class MorphDinnerbone extends MorphGadget
|
|||||||
public MorphDinnerbone(GadgetManager manager)
|
public MorphDinnerbone(GadgetManager manager)
|
||||||
{
|
{
|
||||||
super(manager, "Dinnerbone Morph", UtilText.splitLinesToArray(new String[]{C.cGray + "Placeholder"}, LineFormat.LORE),
|
super(manager, "Dinnerbone Morph", UtilText.splitLinesToArray(new String[]{C.cGray + "Placeholder"}, LineFormat.LORE),
|
||||||
-14, Material.GLASS, (byte) 0);
|
-14, Material.GLASS, (byte) 0, YearMonth.of(2017, Month.JANUARY));
|
||||||
// Creates display item
|
// Creates display item
|
||||||
ItemStack dinnerboneHead = new ItemStack(Material.SKULL_ITEM, 1, (byte) 3);
|
ItemStack dinnerboneHead = new ItemStack(Material.SKULL_ITEM, 1, (byte) 3);
|
||||||
SkullMeta skullMeta = (SkullMeta) dinnerboneHead.getItemMeta();
|
SkullMeta skullMeta = (SkullMeta) dinnerboneHead.getItemMeta();
|
||||||
|
Loading…
Reference in New Issue
Block a user