geforkt von Mirrors/Paper
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