Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 04:20:08 +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) {
|
||||
getHandle().setVillagerType(0);
|
||||
if (flag) {
|
||||
getHandle().setVillagerType(0);
|
||||
} else {
|
||||
getHandle().clearVillagerType();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren