mirror of
https://github.com/eaglerforge/EaglerForgeInjector
synced 2025-07-23 06:01:38 -09:00
Fixed bug in AsyncSink
This commit is contained in:
parent
9501ec1a1e
commit
5373753e6f
@ -161,7 +161,7 @@ ModAPI.meta.credits("By ZXMushroom63");
|
||||
};
|
||||
|
||||
const L10NCheck = ModAPI.util.getMethodFromPackage("net.minecraft.util.StatCollector", "canTranslate");
|
||||
const originalL10NCheck = ModAPI.hooks.methods[L10NRead];
|
||||
const originalL10NCheck = ModAPI.hooks.methods[L10NCheck];
|
||||
ModAPI.hooks.methods[L10NCheck] = function (...args) {
|
||||
if (AsyncSink.L10N.has(ModAPI.util.ustr(args[0]))) {
|
||||
return 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user