mirror of
https://github.com/eaglerforge/EaglerForgeInjector
synced 2025-07-23 14:11:16 -09:00
fix stupid bug
This commit is contained in:
parent
2de2e06996
commit
59a2e8f08d
@ -981,8 +981,8 @@ globalThis.modapi_postinit = "(" + (() => {
|
|||||||
var values = [...ModAPI.reflect.getClassById("net.minecraft.item.Item").staticVariables.itemRegistry.$modapi_specmap.values()];
|
var values = [...ModAPI.reflect.getClassById("net.minecraft.item.Item").staticVariables.itemRegistry.$modapi_specmap.values()];
|
||||||
return qhash(item, values);
|
return qhash(item, values);
|
||||||
}
|
}
|
||||||
ModAPI.keygen.block = function () {
|
ModAPI.keygen.block = function (block) {
|
||||||
var values = [...ModAPI.reflect.getClassById("net.minecraft.block.Block").staticVariables.blockRegistry.$modapi_specmap.values()];
|
var values = [...ModAPI.reflect.getClassById("net.minecraft.block.Block").staticVariables.blockRegistry.$modapi_specmap.values()];
|
||||||
return qhash(item, values);
|
return qhash(block, values);
|
||||||
}
|
}
|
||||||
}).toString() + ")();";
|
}).toString() + ")();";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user