root/trunk/AE-go_GameServer/src/com/aionemu/gameserver/services/InstanceService.java
| 1514 | 1515 | ||
|---|---|---|---|
222 | world.setPosition(player, entryPoint.getMapId(), 1, entryPoint.getX(), entryPoint.getY(), | 222 | world.setPosition(player, entryPoint.getMapId(), 1, entryPoint.getX(), entryPoint.getY(), |
223 | entryPoint.getZ(), player.getHeading()); | 223 | entryPoint.getZ(), player.getHeading()); |
224 | } | 224 | } |
225 | |||
226 | /** | ||
227 | * @param worldId | ||
228 | * @param instanceId | ||
229 | * @return | ||
230 | */ | ||
231 | public boolean isInstanceExist(int worldId, int instanceId) | ||
232 | { | ||
233 | return world.getWorldMap(worldId).getWorldMapInstanceById(instanceId) != null; | ||
234 | } | ||
225 | } | 235 | } |
Download diff