Update CraftBukkit to Minecraft 1.7.5
This commit is contained in:
@@ -31,7 +31,7 @@ public abstract class InventorySubcontainer implements IInventory { // CraftBukk
|
||||
}
|
||||
|
||||
public ItemStack getItem(int i) {
|
||||
return this.items[i];
|
||||
return i >= 0 && i < this.items.length ? this.items[i] : null;
|
||||
}
|
||||
|
||||
public ItemStack splitStack(int i, int j) {
|
||||
|
||||
Reference in New Issue
Block a user