Teleport the creeper so it's visible
This commit is contained in:
parent
dc77dde98b
commit
8604eb2e09
@ -50,8 +50,10 @@ public class WinEffectRankUltra extends WinEffectRankBased
|
|||||||
|
|
||||||
Manager.getPetManager().getCreatureModule().SetForce(true);
|
Manager.getPetManager().getCreatureModule().SetForce(true);
|
||||||
|
|
||||||
_creeper = loc.getWorld().spawn(loc.add(loc.getDirection().multiply(-3)), Creeper.class);
|
_creeper = loc.getWorld().spawn(loc.add(0, 10, 0), Creeper.class);
|
||||||
_creeper.setPowered(true);
|
|
||||||
|
_creeper.teleport(loc.subtract(0, 0, 2));
|
||||||
|
|
||||||
_creeper.setTarget((LivingEntity) _npc.getEntity().getBukkitEntity());
|
_creeper.setTarget((LivingEntity) _npc.getEntity().getBukkitEntity());
|
||||||
|
|
||||||
Manager.getPetManager().getCreatureModule().SetForce(false);
|
Manager.getPetManager().getCreatureModule().SetForce(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user