Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-16 21:10:17 +01:00
Clear animal owner when untamed. Fixes BUKKIT-1482
Dieser Commit ist enthalten in:
Ursprung
0095add08c
Commit
8bc42ba8c9
@ -52,6 +52,9 @@ public class CraftTameableAnimal extends CraftAnimals implements Tameable, Creat
|
||||
|
||||
public void setTamed(boolean tame) {
|
||||
getHandle().setTamed(tame);
|
||||
if (!tame) {
|
||||
setOwnerName("");
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isSitting() {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren