mirror of
https://github.com/eaglerforge/EaglerForgeInjector
synced 2025-07-23 06:01:38 -09:00
renderitem method grabber patch
This commit is contained in:
parent
ab2da74aac
commit
1fab99abbf
@ -220,6 +220,7 @@ const modapi_postinit = "(" + (() => {
|
|||||||
ModAPI.util.getMethodFromPackage = function (classId, methodName) {
|
ModAPI.util.getMethodFromPackage = function (classId, methodName) {
|
||||||
if (ModAPI.is_1_12) {
|
if (ModAPI.is_1_12) {
|
||||||
classId = classId.replace(".eaglercraft.v1_8", ".eaglercraft"); //why peyton why must you do this. you couldve changed it to v1_12 too, that would've worked
|
classId = classId.replace(".eaglercraft.v1_8", ".eaglercraft"); //why peyton why must you do this. you couldve changed it to v1_12 too, that would've worked
|
||||||
|
classId = classId.replace(".entity.RenderItem", ".RenderItem");
|
||||||
}
|
}
|
||||||
var name = "";
|
var name = "";
|
||||||
var classStuff = classId.split(".");
|
var classStuff = classId.split(".");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user