Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-21 05:50:05 +01:00
SPIGOT-2336: Zombie.setVillager(Z)V
Dieser Commit ist enthalten in:
Ursprung
5ae53e0d5c
Commit
5ff377a9b2
@ -40,7 +40,11 @@ public class CraftZombie extends CraftMonster implements Zombie {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void setVillager(boolean flag) {
|
public void setVillager(boolean flag) {
|
||||||
getHandle().setVillagerType(0);
|
if (flag) {
|
||||||
|
getHandle().setVillagerType(0);
|
||||||
|
} else {
|
||||||
|
getHandle().clearVillagerType();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren