MCPcopy Create free account
hub / github.com/GregTech6/gregtech6 / finish

Method finish

src/main/java/gregapi/util/UT.java:3455–3474  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3453 }
3454
3455 @SuppressWarnings("deprecation")
3456 public static boolean finish() {
3457 if (mBar != null && mEnabled) {
3458 if (mCount != mSize) ERR.println("ERROR: Progress Bar needed a forced Finish, because of too few Steps.");
3459 try {
3460 cpw.mods.fml.common.ProgressManager.pop((cpw.mods.fml.common.ProgressManager.ProgressBar)mBar);
3461 mBar = null;
3462 mSize = 0;
3463 mCount = 0;
3464 return T;
3465 } catch(NoClassDefFoundError e) {
3466 mEnabled = F;
3467 } catch(Throwable e) {e.printStackTrace(ERR);}
3468 mBar = null;
3469 mSize = 0;
3470 mCount = 0;
3471 return F;
3472 }
3473 return F;
3474 }
3475 }
3476}

Callers 8

stepMethod · 0.95
onPostLoadMethod · 0.80
enableRegistrationsMethod · 0.80
loadRunnablesMethod · 0.80
onModPreInitMethod · 0.80
onModInitMethod · 0.80
onModPostInitMethod · 0.80
runMethod · 0.80

Calls 1

printlnMethod · 0.80

Tested by

no test coverage detected