Set pitch and yaw for npc

This commit is contained in:
LCastr0 2017-05-01 12:25:03 -03:00
parent 8ec6ebd060
commit e7c171749c

View File

@ -28,7 +28,8 @@ public class WinEffectRankUltra extends WinEffectRankBased
Location loc = getBaseLocation();
loc.setDirection(_player.getLocation().subtract(loc).toVector().multiply(-1));
loc.setPitch(0);
loc.setYaw(0);
_npc = getNPC(getPlayer(), loc);
_creeper = loc.getWorld().spawn(loc.add(loc.getDirection().multiply(-3)), Creeper.class);