fixed build issues, code cleanup

This commit is contained in:
Tahg
2011-09-26 03:59:03 -04:00
parent d226e551ae
commit 31eef6e001
5 changed files with 32 additions and 42 deletions

View File

@@ -35,7 +35,7 @@ public final class ItemStack {
this.count = 0;
this.id = i;
this.count = j;
b(k); // CraftBukkit
this.b(k); // CraftBukkit
}
public static ItemStack a(NBTTagCompound nbttagcompound) {
@@ -122,7 +122,7 @@ public final class ItemStack {
}
public void b(int i) {
this.damage = (id > 0) && (id < 256) ? Item.byId[id].filterData(i) : i; // CraftBukkit
this.damage = (this.id > 0) && (this.id < 256) ? Item.byId[this.id].filterData(i) : i; // CraftBukkit
}
public int i() {