Teleport the creeper so it's visible

This commit is contained in:
LCastr0 2017-05-06 22:54:24 -03:00
parent dc77dde98b
commit 8604eb2e09

View File

@ -50,8 +50,10 @@ public class WinEffectRankUltra extends WinEffectRankBased
Manager.getPetManager().getCreatureModule().SetForce(true);
_creeper = loc.getWorld().spawn(loc.add(loc.getDirection().multiply(-3)), Creeper.class);
_creeper.setPowered(true);
_creeper = loc.getWorld().spawn(loc.add(0, 10, 0), Creeper.class);
_creeper.teleport(loc.subtract(0, 0, 2));
_creeper.setTarget((LivingEntity) _npc.getEntity().getBukkitEntity());
Manager.getPetManager().getCreatureModule().SetForce(false);