aboutsummaryrefslogtreecommitdiff
path: root/featureClass
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-07-15 21:28:37 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-07-15 21:28:37 +0800
commit7cb9450079ac1d4ca9dbddcccac5bfc16fbd9ccf (patch)
treee5a90da95bd4dfd36856810fe0d44888127688cc /featureClass
parent42bcdf88fbaf3634dd96716f9eb9ee7172d730e1 (diff)
downloadSoopyV2-7cb9450079ac1d4ca9dbddcccac5bfc16fbd9ccf.tar.gz
SoopyV2-7cb9450079ac1d4ca9dbddcccac5bfc16fbd9ccf.tar.bz2
SoopyV2-7cb9450079ac1d4ca9dbddcccac5bfc16fbd9ccf.zip
+ many bugfixes
Diffstat (limited to 'featureClass')
-rw-r--r--featureClass/class.js7
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() {