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() {
|
public ItemStack b() {
|
||||||
|
if (this.c < this.a.length) {
|
||||||
return this.a[this.c];
|
return this.a[this.c];
|
||||||
|
} else {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private int d(int i) {
|
private int d(int i) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren