diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2021-11-06 20:44:33 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2021-11-06 20:44:33 +0800 |
commit | 924e4acc25b71ad2ab5339bd7c062ed6f2031160 (patch) | |
tree | 72792f3afd039e50d12c72378d6c76cdaec98a92 /featureClass/class.js | |
parent | cc668931e3f2031f65fd77b5b773b2d9a0e55ed0 (diff) | |
download | SoopyV2-924e4acc25b71ad2ab5339bd7c062ed6f2031160.tar.gz SoopyV2-924e4acc25b71ad2ab5339bd7c062ed6f2031160.tar.bz2 SoopyV2-924e4acc25b71ad2ab5339bd7c062ed6f2031160.zip |
2.0.3
+ Better module failed to load detection
+ Wither impact cooldown
Diffstat (limited to 'featureClass/class.js')
-rw-r--r-- | featureClass/class.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/featureClass/class.js b/featureClass/class.js index 1cfdd8b..11b3492 100644 --- a/featureClass/class.js +++ b/featureClass/class.js @@ -94,6 +94,13 @@ class Feature { return theEvent } + registerActionBar(criteria, func){ + let theEvent = this.FeatureManager.registerActionBar(criteria, func, this) + + this.customEvents[theEvent.id] = theEvent + + return theEvent + } registerStep(isFps, interval, func){ let theEvent = this.FeatureManager.registerStep(isFps, interval, func, this) |