Added YearMonth for Dinnerbone Morph

This commit is contained in:
LCastr0 2016-12-19 22:15:22 -02:00
parent eadbb22de9
commit 06a05080ed

View File

@ -1,5 +1,7 @@
package mineplex.core.gadget.gadgets.morph;
import java.time.Month;
import java.time.YearMonth;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
@ -37,7 +39,7 @@ public class MorphDinnerbone extends MorphGadget
public MorphDinnerbone(GadgetManager manager)
{
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
ItemStack dinnerboneHead = new ItemStack(Material.SKULL_ITEM, 1, (byte) 3);
SkullMeta skullMeta = (SkullMeta) dinnerboneHead.getItemMeta();