Skip to content

Commit

Permalink
Fix mixin mod overrides not working without mixin. prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
2No2Name committed Nov 11, 2024
1 parent 3c98919 commit 8ed54ef
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,10 @@ private void readProperties(Properties props) {
protected void applyModOverride(PlatformMixinOverrides.MixinOverride override) {
Option option = this.options.get(override.option());

if (option == null && !override.option().startsWith("mixin.")) {
option = this.options.get("mixin." + override.option());
}

if (option == null) {
LOGGER.warn("Mod '{}' attempted to override option '{}', which doesn't exist, ignoring", override.modId(), override.option());
return;
Expand Down

0 comments on commit 8ed54ef

Please sign in to comment.