mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-31 22:30:15 +00:00
Reverted changes to getItem(). Will be reimplemented after RB.
This commit is contained in:
parent
1bbeec1f75
commit
4f02563c63
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ public class CraftInventory implements org.bukkit.inventory.Inventory {
|
||||||
}
|
}
|
||||||
|
|
||||||
public ItemStack getItem(int index) {
|
public ItemStack getItem(int index) {
|
||||||
return (getInventory().getItem(index) == null || getInventory().getItem(index).id == 0) ? null : new CraftItemStack(getInventory().getItem(index));
|
return new CraftItemStack(getInventory().getItem(index));
|
||||||
}
|
}
|
||||||
|
|
||||||
public ItemStack[] getContents() {
|
public ItemStack[] getContents() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue