Added setArmorContents as a method for PlayerInventory.

This commit is contained in:
Raphfrk
2011-04-29 00:28:13 +01:00
committed by EvilSeph
parent f0d14d156e
commit f96a416785

View File

@@ -39,6 +39,13 @@ public interface PlayerInventory extends Inventory {
*/ */
public ItemStack getBoots(); public ItemStack getBoots();
/**
* Put the given ItemStacks into the armor slots
*
* @param items The ItemStacks to use as armour
*/
public void setArmorContents(ItemStack[] items);
/** /**
* Put the given ItemStack into the helmet slot * Put the given ItemStack into the helmet slot
* This does not check if the ItemStack is a helmet * This does not check if the ItemStack is a helmet