Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-19 21:10:10 +01:00
Fixed dispensers not working.
Dieser Commit ist enthalten in:
Ursprung
c4138ff4d3
Commit
605bfd972f
@ -52,8 +52,7 @@ 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.b.nextInt(j) == 0) {
|
||||
if (this.items[k].count != 0) continue; // CraftBukkit
|
||||
if (this.items[k] != null && this.items[k].count != 0 && this.b.nextInt(j) == 0) { // CraftBukkit
|
||||
i = k;
|
||||
++j;
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren