3
0
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:
Ammar Askar 2012-06-17 23:18:00 +05:00 committet von Wesley Wolfe
Ursprung 0095add08c
Commit 8bc42ba8c9

Datei anzeigen

@ -52,6 +52,9 @@ public class CraftTameableAnimal extends CraftAnimals implements Tameable, Creat
public void setTamed(boolean tame) { public void setTamed(boolean tame) {
getHandle().setTamed(tame); getHandle().setTamed(tame);
if (!tame) {
setOwnerName("");
}
} }
public boolean isSitting() { public boolean isSitting() {