Fix spawning
This commit is contained in:
parent
9a1469f6b0
commit
6ae801314c
@ -24,15 +24,11 @@ public class IronWizardDisplay extends BossDisplay
|
||||
@Override
|
||||
public void start()
|
||||
{
|
||||
Plugin.CreatureAllowOverride = true;
|
||||
|
||||
_golem = (IronGolem) getLocation().getWorld().spawnEntity(getLocation(),
|
||||
EntityType.IRON_GOLEM);
|
||||
_golem.teleport(getLocation());
|
||||
UtilEnt.Vegetate(_golem);
|
||||
|
||||
Plugin.CreatureAllowOverride = false;
|
||||
|
||||
addEntity(_golem);
|
||||
}
|
||||
|
||||
|
@ -25,8 +25,6 @@ public class SlimeKingDisplay extends BossDisplay
|
||||
@Override
|
||||
public void start()
|
||||
{
|
||||
Plugin.CreatureAllowOverride = true;
|
||||
|
||||
_slime = (Slime) getLocation().getWorld().spawnEntity(getLocation(),
|
||||
EntityType.SLIME);
|
||||
_slime.setSize(4);
|
||||
@ -35,8 +33,6 @@ public class SlimeKingDisplay extends BossDisplay
|
||||
|
||||
UtilEnt.Vegetate(_slime);
|
||||
|
||||
Plugin.CreatureAllowOverride = false;
|
||||
|
||||
addEntity(_slime);
|
||||
}
|
||||
|
||||
|
@ -25,8 +25,6 @@ public class SnakeDisplay extends BossDisplay
|
||||
@Override
|
||||
public void start()
|
||||
{
|
||||
Plugin.CreatureAllowOverride = true;
|
||||
|
||||
_sheep = (Sheep) getLocation().getWorld().spawnEntity(getLocation(),
|
||||
EntityType.SHEEP);
|
||||
|
||||
@ -34,8 +32,6 @@ public class SnakeDisplay extends BossDisplay
|
||||
|
||||
UtilEnt.Vegetate(_sheep);
|
||||
|
||||
Plugin.CreatureAllowOverride = false;
|
||||
|
||||
addEntity(_sheep);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user