diff options
author | Tahg <tahgtahv@gmail.com> | 2011-04-06 21:51:20 -0400 |
---|---|---|
committer | Tahg <tahgtahv@gmail.com> | 2011-04-06 21:51:20 -0400 |
commit | 3c9944237a06a3865a37637777825852425f9bd8 (patch) | |
tree | 6f66051aa95cb92ee83d4b790a9851ffb20590e3 /src/main | |
parent | e1acd683b4daf3582fc79bc950e5e97ee77657b5 (diff) | |
download | craftbukkit-3c9944237a06a3865a37637777825852425f9bd8.tar craftbukkit-3c9944237a06a3865a37637777825852425f9bd8.tar.gz craftbukkit-3c9944237a06a3865a37637777825852425f9bd8.tar.lz craftbukkit-3c9944237a06a3865a37637777825852425f9bd8.tar.xz craftbukkit-3c9944237a06a3865a37637777825852425f9bd8.zip |
Fixed Compile error
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/inventory/CraftInventoryPlayer.java | 8 |
1 files 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 2f2be146..88933b4b 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 ); } |