Changed Chimaera Wing's recipe result to use the ingredient Material

This commit is contained in:
TfT_02 2013-04-04 21:35:09 +02:00
parent 2365c253dd
commit c16e5231f4
2 changed files with 6 additions and 1 deletions

View File

@ -8,6 +8,7 @@ Key:
- Removal
Version 1.4.06-dev
! Changed Chimaera Wing's recipe result to use the ingredient Material
Version 1.4.05
+ Added option to allow refreshing of chunks after block-breaking abilities. (Disabled by default)

View File

@ -119,13 +119,17 @@ public final class ChimaeraWing {
}
public static ItemStack getChimaeraWing(int amount) {
ItemStack itemStack = new ItemStack(Material.FEATHER, amount);
Material ingredient = Material.getMaterial(Config.getInstance().getChimaeraItemId());
ItemStack itemStack = new ItemStack(ingredient, amount);
ItemMeta itemMeta = itemStack.getItemMeta();
itemMeta.setDisplayName(ChatColor.GOLD + "Chimaera Wing"); //TODO Locale!
List<String> itemLore = new ArrayList<String>();
itemLore.add("mcMMO Item");
itemLore.add(ChatColor.GRAY + "Teleports you to your bed."); //TODO Locale!
itemMeta.setLore(itemLore);
itemStack.setItemMeta(itemMeta);
return itemStack;
}