commit
c9ccf2d785
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue