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() {
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren