Minor code cleanup.
This commit is contained in:
		| @@ -87,7 +87,7 @@ public class TeleportToSummon extends AbstractEffect | ||||
| 		final int y = (int) (py + (25 * Math.sin(ph))); | ||||
| 		final int z = summon.getZ(); | ||||
| 		 | ||||
| 		final Location loc = GeoEngine.getInstance().getValidLocation(effector.getX(), effector.getY(), effector.getZ(), x, y, z,effector.getInstanceWorld()); | ||||
| 		final Location loc = GeoEngine.getInstance().getValidLocation(effector.getX(), effector.getY(), effector.getZ(), x, y, z, effector.getInstanceWorld()); | ||||
| 		 | ||||
| 		effector.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE); | ||||
| 		effector.broadcastPacket(new FlyToLocation(effector, loc.getX(), loc.getY(), loc.getZ(), FlyType.DUMMY)); | ||||
|   | ||||
| @@ -76,7 +76,7 @@ public class TeleportToTarget extends AbstractEffect | ||||
| 		final int y = (int) (py + (25 * Math.sin(ph))); | ||||
| 		final int z = effected.getZ(); | ||||
| 		 | ||||
| 		final Location loc = GeoEngine.getInstance().getValidLocation(effector.getX(), effector.getY(), effector.getZ(), x, y, z,effector.getInstanceWorld()); | ||||
| 		final Location loc = GeoEngine.getInstance().getValidLocation(effector.getX(), effector.getY(), effector.getZ(), x, y, z, effector.getInstanceWorld()); | ||||
| 		 | ||||
| 		effector.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE); | ||||
| 		effector.broadcastPacket(new FlyToLocation(effector, loc.getX(), loc.getY(), loc.getZ(), FlyType.DUMMY)); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 MobiusDevelopment
					MobiusDevelopment