Update 'mbchc-local.user.js'
This commit is contained in:
parent
561bedc606
commit
f7e571b26a
|
@ -503,6 +503,12 @@ var bcModSdk=function(){"use strict";const o="1.0.2";function e(o){alert("Mod ER
|
|||
}
|
||||
return(next(args))
|
||||
})
|
||||
window.MBCHC.sdk.hookFunction("ElementCreateInput", 0, (args, next) => {
|
||||
let [ID, Type, Value, MaxLength] = args
|
||||
let result = next(args)
|
||||
if (("bce_LayerPriority" === ID) && window.CurrentCharacter && window.CurrentCharacter.FocusGroup && window.InventoryLocked(window.CurrentCharacter, window.CurrentCharacter.FocusGroup.Name, true)) window.ElementSetAttribute(ID, "disabled", true)
|
||||
return(result)
|
||||
})
|
||||
window.MBCHC.remove_bce_hook = window.MBCHC.sdk.hookFunction("MainRun", 0, (args, next) => {
|
||||
if (window.bce_ActivityTriggers) window.MBCHC.patch_bce()
|
||||
return(next(args))
|
||||
|
|
Loading…
Reference in New Issue
Block a user