In the 1.11 update, the override was mistakenly toggled off while spawning
in skeletons. This commit undoes that change.
This commit is contained in:
samczsun 2017-01-03 15:56:11 -05:00 committed by cnr
parent 8e5483e42b
commit 63357b0fc5
1 changed files with 2 additions and 2 deletions

View File

@ -108,8 +108,6 @@ public class PerkSkeletons extends Perk
Player killed = (Player) event.GetEvent().getEntity();
Manager.GetGame().CreatureAllowOverride = true;
Manager.GetGame().CreatureAllowOverride = false;
KitModifier kitModifier = getSkeletonType(killer);
final Skeleton.SkeletonType type;
@ -143,6 +141,8 @@ public class PerkSkeletons extends Perk
skel = UtilVariant.spawnWitherSkeleton(killed.getLocation());
}
Manager.GetGame().CreatureAllowOverride = false;
if (kitModifier != null && kitModifier == KitModifier.Survival_Games_Necromancer_Zombie)
{
DisguiseZombie disguiseZombie = new DisguiseZombie(skel);