Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-17 05:20:05 +01:00
Fixed crash with bad holding slot
Dieser Commit ist enthalten in:
Ursprung
63f0de5128
Commit
f056fad765
@ -24,7 +24,11 @@ public class InventoryPlayer implements IInventory {
|
||||
}
|
||||
|
||||
public ItemStack b() {
|
||||
return this.a[this.c];
|
||||
if (this.c < this.a.length) {
|
||||
return this.a[this.c];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
private int d(int i) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren