Commit 99fe86cb239373904df3f9a00b577e170682b3b9
1 parent
0096b127
completely disable loading bar when loadingbar=false is set in the properties
Showing
2 changed files
with
7 additions
and
1 deletions
java/common/com/mumfrey/liteloader/core/LiteLoaderBootstrap.java
... | ... | @@ -311,12 +311,13 @@ class LiteLoaderBootstrap implements LoaderBootstrap, LoaderEnvironment, LoaderP |
311 | 311 | @Override |
312 | 312 | public void preBeginGame() |
313 | 313 | { |
314 | - LoadingProgress.setEnabled(this.getAndStoreBooleanProperty(LoaderProperties.OPTION_LOADING_BAR, true)); | |
315 | 314 | LiteAPI api = this.getAPIProvider().getAPI("liteloader"); |
316 | 315 | if (api instanceof LiteLoaderCoreAPI) |
317 | 316 | { |
318 | 317 | ((LiteLoaderCoreAPI)api).getObjectFactory().preBeginGame(); |
319 | 318 | } |
319 | + | |
320 | + LoadingProgress.setEnabled(this.getAndStoreBooleanProperty(LoaderProperties.OPTION_LOADING_BAR, true)); | |
320 | 321 | } |
321 | 322 | |
322 | 323 | /* (non-Javadoc) | ... | ... |
java/common/com/mumfrey/liteloader/launch/LiteLoaderTweaker.java