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