fix: Retreive managers from correct SmoothChunks instance
This commit is contained in:
parent
8b319f3839
commit
2c6c230ef4
@ -146,11 +146,9 @@ public final class SmoothChunks implements ClientModInitializer, ModMenuApi {
|
|||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
public ConfigScreenFactory<?> getModConfigScreenFactory() {
|
public ConfigScreenFactory<?> getModConfigScreenFactory() {
|
||||||
return new ConfigScreenFactory<Screen>() {
|
return (Screen parent) -> {
|
||||||
@Override
|
var _this = getInstance();
|
||||||
public Screen create(Screen parent) {
|
return new SmoothChunksScreen(parent, _this.animation, _this.ease, _this.config);
|
||||||
return new SmoothChunksScreen(parent, animation, ease, config);
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user