Skip to content

Commit

Permalink
MixinWorldRenderer -> MixinLevelRenderer
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbot16 committed Sep 12, 2021
1 parent ed0dfa8 commit e5d35d1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

// Run after the PhysicsMod injection
@Mixin(value = LevelRenderer.class, priority = 1001)
public class MixinWorldRenderer {
public class MixinLevelRenderer {
}
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ public void postApply(String targetClassName, ClassNode targetClass, String mixi
throw new RuntimeException("Odd MixinMerged annotation with values: " + annotation.values);
}

// WorldRenderer is the Yarn name for LevelRenderer
if (!"net.diebuddies.mixins.MixinWorldRenderer".equals(annotation.values.get(1))) {
continue;
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/mixins.iris.yeetphysicsmod.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"package": "net.coderbot.iris.compat.physicsmod.mixin",
"compatibilityLevel": "JAVA_8",
"client": [
"MixinWorldRenderer"
"MixinLevelRenderer"
],
"injectors": {
"defaultRequire": 1
Expand Down

0 comments on commit e5d35d1

Please sign in to comment.