geforkt von Mirrors/Paper
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