geforkt von Mirrors/Paper
Further improving ItemStack handling
Dieser Commit ist enthalten in:
Ursprung
13fcb9e371
Commit
e520032205
@ -439,6 +439,11 @@ public class PlayerInventory implements IInventory {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public ItemStack getCarried() {
|
public ItemStack getCarried() {
|
||||||
|
// CraftBukkit start
|
||||||
|
if (this.f != null && this.f.count == 0) {
|
||||||
|
this.setCarried(null);
|
||||||
|
}
|
||||||
|
// CraftBukkit end
|
||||||
return this.f;
|
return this.f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren