mirror of
https://github.com/eaglerforge/EaglerForgeInjector
synced 2025-07-23 14:11:16 -09:00
xpspawner
This commit is contained in:
parent
541ac83f5f
commit
1e1c0be950
@ -27,11 +27,12 @@ class PatchesRegistry {
|
||||
PatchesRegistry.regSpecialEvent("render");
|
||||
PatchesRegistry.addPatch(function (input) {
|
||||
var output = input.replaceAll(
|
||||
/\$tmp = \$entity.\$getEyeHeight\(\);\s+?if \(\$rt_suspending\(\)\) {/gm
|
||||
/continue main;\s+?}\s+?if\s?\(!\$this.\$renderHand\)/gm
|
||||
,
|
||||
`$tmp = $entity.$getEyeHeight();
|
||||
`continue main;
|
||||
}
|
||||
ModAPI.events.callEvent("render",{partialTicks:$partialTicks})
|
||||
if ($rt_suspending()) {`
|
||||
if (!$this.$renderHand)`
|
||||
);
|
||||
return output;
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user