Fix spawning

This commit is contained in:
libraryaddict 2015-08-29 15:07:51 -07:00
parent 9a1469f6b0
commit 6ae801314c
3 changed files with 0 additions and 12 deletions

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}