PC-1303
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:
parent
8e5483e42b
commit
63357b0fc5
@ -108,8 +108,6 @@ public class PerkSkeletons extends Perk
|
|||||||
Player killed = (Player) event.GetEvent().getEntity();
|
Player killed = (Player) event.GetEvent().getEntity();
|
||||||
|
|
||||||
Manager.GetGame().CreatureAllowOverride = true;
|
Manager.GetGame().CreatureAllowOverride = true;
|
||||||
Manager.GetGame().CreatureAllowOverride = false;
|
|
||||||
|
|
||||||
|
|
||||||
KitModifier kitModifier = getSkeletonType(killer);
|
KitModifier kitModifier = getSkeletonType(killer);
|
||||||
final Skeleton.SkeletonType type;
|
final Skeleton.SkeletonType type;
|
||||||
@ -143,6 +141,8 @@ public class PerkSkeletons extends Perk
|
|||||||
skel = UtilVariant.spawnWitherSkeleton(killed.getLocation());
|
skel = UtilVariant.spawnWitherSkeleton(killed.getLocation());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Manager.GetGame().CreatureAllowOverride = false;
|
||||||
|
|
||||||
if (kitModifier != null && kitModifier == KitModifier.Survival_Games_Necromancer_Zombie)
|
if (kitModifier != null && kitModifier == KitModifier.Survival_Games_Necromancer_Zombie)
|
||||||
{
|
{
|
||||||
DisguiseZombie disguiseZombie = new DisguiseZombie(skel);
|
DisguiseZombie disguiseZombie = new DisguiseZombie(skel);
|
||||||
|
Loading…
Reference in New Issue
Block a user