WorldDAO.updateWorldProperties(world);
//Update the world map.
if (world.getGameMode() == Constants.GAME_TYPE_PVE) {
PvPWorldMap pvpMap = client.getServer().getPvPWorldMap(world.getID());
pvpMap.quitOldTeamAndPosition(env.getRow(), env.getColumn());
pvpMap.printObject();
WorldMapDAO.updatePvPWorldMap(pvpMap);
} else if (world.getGameMode() == Constants.GAME_TYPE_PVE) {
PvEWorldMap pveMap = client.getServer().getPvEWorldMap(world.getID());