Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-16 13:00:06 +01:00
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() {
|
||||
// CraftBukkit start
|
||||
if (this.f != null && this.f.count == 0) {
|
||||
this.setCarried(null);
|
||||
}
|
||||
// CraftBukkit end
|
||||
return this.f;
|
||||
}
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren