Updated against new mc-dev format, takes out quite some casting troubles at the cost of extra ()'s

This commit is contained in:
Erik Broes
2011-01-11 09:25:13 +01:00
parent 75654e8db5
commit 22dab8e985
44 changed files with 770 additions and 817 deletions

View File

@@ -1,15 +1,14 @@
package net.minecraft.server;
public class InventoryCraftResult
implements IInventory {
public class InventoryCraftResult implements IInventory {
private ItemStack a[];
// CraftBukkit
// CraftBukkit start
public ItemStack[] getContents() {
return a;
}
// CraftBukkit end
public InventoryCraftResult() {
a = new ItemStack[1];