From 67a1520bb5f975746c98afce67b672b87a23ed58 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Wed, 6 Apr 2011 21:51:20 -0400 Subject: [PATCH] Fixed Compile error By: Tahg --- .../craftbukkit/inventory/CraftInventoryPlayer.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftInventoryPlayer.java b/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftInventoryPlayer.java index 2f2be14676..88933b4bdf 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftInventoryPlayer.java +++ b/paper-server/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 ); }