diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-07-15 21:28:37 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-07-15 21:28:37 +0800 |
commit | 7cb9450079ac1d4ca9dbddcccac5bfc16fbd9ccf (patch) | |
tree | e5a90da95bd4dfd36856810fe0d44888127688cc /featureClass | |
parent | 42bcdf88fbaf3634dd96716f9eb9ee7172d730e1 (diff) | |
download | SoopyV2-7cb9450079ac1d4ca9dbddcccac5bfc16fbd9ccf.tar.gz SoopyV2-7cb9450079ac1d4ca9dbddcccac5bfc16fbd9ccf.tar.bz2 SoopyV2-7cb9450079ac1d4ca9dbddcccac5bfc16fbd9ccf.zip |
+ many bugfixes
Diffstat (limited to 'featureClass')
-rw-r--r-- | featureClass/class.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/featureClass/class.js b/featureClass/class.js index 5b17c40..2ccbb49 100644 --- a/featureClass/class.js +++ b/featureClass/class.js @@ -280,10 +280,11 @@ class ForgeEvent extends Event { } class CustomEvent extends Event { + constructor(...args) { + super(...args) + } actuallyRegister() { - let newEvent = this.trigger.register() - this.data = newEvent.data - this.trigger = newEvent.trigger + this.trigger.register() } actuallyUnregister() { |