MCPcopy Create free account
hub / github.com/MultiMC/Launcher / isVersionChangeable

Method isVersionChangeable

launcher/minecraft/Component.cpp:209–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207 return true;
208}
209bool Component::isVersionChangeable()
210{
211 auto list = getVersionList();
212 if(list)
213 {
214 if(!list->isLoaded())
215 {
216 list->load(Net::Mode::Online);
217 }
218 return list->count() != 0;
219 }
220 return false;
221}
222
223void Component::setImportant(bool state)
224{

Callers 1

updateButtonsMethod · 0.80

Calls 3

isLoadedMethod · 0.45
loadMethod · 0.45
countMethod · 0.45

Tested by

no test coverage detected