aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/makamys/neodymium/mixin/MixinGuiMainMenu.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/makamys/neodymium/mixin/MixinGuiMainMenu.java')
-rw-r--r--src/main/java/makamys/neodymium/mixin/MixinGuiMainMenu.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/makamys/neodymium/mixin/MixinGuiMainMenu.java b/src/main/java/makamys/neodymium/mixin/MixinGuiMainMenu.java
index 27f6b07..2851830 100644
--- a/src/main/java/makamys/neodymium/mixin/MixinGuiMainMenu.java
+++ b/src/main/java/makamys/neodymium/mixin/MixinGuiMainMenu.java
@@ -15,7 +15,9 @@ abstract class MixinGuiMainMenu {
@Shadow
private String splashText;
- @Inject(method = "<init>*", at = @At("RETURN"))
+ @Inject(method = "<init>",
+ at = @At("RETURN"),
+ require = 1)
private void postConstructor(CallbackInfo ci) {
splashText = Neodymium.modifySplash(splashText);
}