SPIGOT-4684: Update persistence of converting zombie villagers

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2019-04-08 20:29:18 +10:00
parent aa642d5805
commit 6111c0258c
2 changed files with 5 additions and 3 deletions

View File

@@ -56,6 +56,7 @@ public class CraftVillagerZombie extends CraftZombie implements ZombieVillager {
if (time < 0) {
getHandle().conversionTime = -1;
getHandle().getDataWatcher().set(EntityZombieVillager.CONVERTING, false);
getHandle().persistent = false; // CraftBukkit - SPIGOT-4684 update persistence
} else {
getHandle().startConversion((UUID) null, time);
}