Skip to content

Commit e1ce75a

Browse files
authored
inject at the tail instead of prior to pop (#290)
1 parent 4f17126 commit e1ce75a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/cleanroommc/groovyscript/core/mixin/jei/JeiStarterMixin.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public abstract class JeiStarterMixin {
1414
* @reason run GroovyScript removal methods after all plugins have been registered to allow users to customize information related to all plugins
1515
* @see JeiPlugin#afterRegister()
1616
*/
17-
@Inject(method = "registerPlugins", at = @At(value = "INVOKE", target = "Lnet/minecraftforge/fml/common/ProgressManager;pop(Lnet/minecraftforge/fml/common/ProgressManager$ProgressBar;)V"))
17+
@Inject(method = "registerPlugins", at = @At("TAIL"))
1818
private static void grs$onRegisterPlugins(CallbackInfo ci) {
1919
JeiPlugin.afterRegister();
2020
}
@@ -23,7 +23,7 @@ public abstract class JeiStarterMixin {
2323
* @reason run GroovyScript removal methods after all plugins have acted on runtime to allow users to customize information related to all plugins
2424
* @see JeiPlugin#afterRuntimeAvailable()
2525
*/
26-
@Inject(method = "sendRuntime", at = @At(value = "INVOKE", target = "Lnet/minecraftforge/fml/common/ProgressManager;pop(Lnet/minecraftforge/fml/common/ProgressManager$ProgressBar;)V"))
26+
@Inject(method = "sendRuntime", at = @At("TAIL"))
2727
private static void grs$onSendRuntime(CallbackInfo ci) {
2828
JeiPlugin.afterRuntimeAvailable();
2929
}

0 commit comments

Comments
 (0)