Fixed Compile error

By: Tahg <tahgtahv@gmail.com>
This commit is contained in:
CraftBukkit/Spigot 2011-04-06 21:51:20 -04:00
parent 8a6f57b746
commit 67a1520bb5

View file

@ -30,19 +30,19 @@ public class CraftInventoryPlayer extends CraftInventory implements PlayerInvent
return getInventory().c; return getInventory().c;
} }
public CraftItemStack getHelmet() { public ItemStack getHelmet() {
return getItem( getSize() + 3 ); return getItem( getSize() + 3 );
} }
public CraftItemStack getChestplate() { public ItemStack getChestplate() {
return getItem( getSize() + 2 ); return getItem( getSize() + 2 );
} }
public CraftItemStack getLeggings() { public ItemStack getLeggings() {
return getItem( getSize() + 1 ); return getItem( getSize() + 1 );
} }
public CraftItemStack getBoots() { public ItemStack getBoots() {
return getItem( getSize() + 0 ); return getItem( getSize() + 0 );
} }