From 3c9944237a06a3865a37637777825852425f9bd8 Mon Sep 17 00:00:00 2001 From: Tahg Date: Wed, 6 Apr 2011 21:51:20 -0400 Subject: [PATCH] Fixed Compile error --- .../craftbukkit/inventory/CraftInventoryPlayer.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftInventoryPlayer.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftInventoryPlayer.java index 2f2be14676..88933b4bdf 100644 --- a/src/main/java/org/bukkit/craftbukkit/inventory/CraftInventoryPlayer.java +++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftInventoryPlayer.java @@ -30,19 +30,19 @@ public class CraftInventoryPlayer extends CraftInventory implements PlayerInvent return getInventory().c; } - public CraftItemStack getHelmet() { + public ItemStack getHelmet() { return getItem( getSize() + 3 ); } - public CraftItemStack getChestplate() { + public ItemStack getChestplate() { return getItem( getSize() + 2 ); } - public CraftItemStack getLeggings() { + public ItemStack getLeggings() { return getItem( getSize() + 1 ); } - public CraftItemStack getBoots() { + public ItemStack getBoots() { return getItem( getSize() + 0 ); }