| 1155 | } |
| 1156 | |
| 1157 | std::shared_ptr<WorldList> MinecraftInstance::worldList() const |
| 1158 | { |
| 1159 | if (!m_world_list) |
| 1160 | { |
| 1161 | m_world_list.reset(new WorldList(worldDir())); |
| 1162 | } |
| 1163 | return m_world_list; |
| 1164 | } |
| 1165 | |
| 1166 | std::shared_ptr<GameOptions> MinecraftInstance::gameOptionsModel() const |
| 1167 | { |