|
|
|
@ -3457,6 +3457,7 @@ public class GenericFunctions { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static void ConvertSetColor(ItemStack item, ItemSet set) { |
|
|
|
|
if (item.getType().name().contains("LEATHER_")) { |
|
|
|
|
if (set==ItemSet.JAMDAK) { |
|
|
|
|
LeatherArmorMeta lm = (LeatherArmorMeta)item.getItemMeta(); |
|
|
|
|
lm.setColor(org.bukkit.Color.fromRGB(128, 64, 0)); |
|
|
|
@ -3478,6 +3479,7 @@ public class GenericFunctions { |
|
|
|
|
item.setItemMeta(lm); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static ExperienceOrb spawnXP(Location location, int expAmount) { |
|
|
|
|
ExperienceOrb orb = location.getWorld().spawn(location, ExperienceOrb.class); |
|
|
|
|