Implemented 1.6!

This commit is contained in:
Dinnerbone
2011-05-26 13:48:22 +01:00
parent f463453d73
commit 6903f20242
76 changed files with 2699 additions and 2266 deletions

View File

@@ -52,9 +52,9 @@ public class TileEntityDispenser extends TileEntity implements IInventory {
int j = 1;
for (int k = 0; k < this.items.length; ++k) {
if (this.items[k] != null && this.items[k].count != 0 && this.b.nextInt(j) == 0) { // CraftBukkit
if (this.items[k] != null && this.b.nextInt(j++) == 0) {
if (this.items[k].count == 0) continue; // CraftBukkit
i = k;
++j;
}
}