aboutsummaryrefslogtreecommitdiff
path: root/featureClass
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-05-11 07:21:33 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-05-11 07:21:33 +0800
commit2ce1a023ff3a111793e8be00349d60a3e8b82909 (patch)
treefc0628fd127dfb1b143df0eb15f85663443d71a6 /featureClass
parentba94654e7fd5d156ff80d06510f40ab653c40e66 (diff)
downloadSoopyV2-2ce1a023ff3a111793e8be00349d60a3e8b82909.tar.gz
SoopyV2-2ce1a023ff3a111793e8be00349d60a3e8b82909.tar.bz2
SoopyV2-2ce1a023ff3a111793e8be00349d60a3e8b82909.zip
+ Small accuracy improvements on burrial location estimation (uses the yellow particles now instead of the enchant table one)
Diffstat (limited to 'featureClass')
-rw-r--r--featureClass/featureManager.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/featureClass/featureManager.js b/featureClass/featureManager.js
index abfdd0d..e27208f 100644
--- a/featureClass/featureManager.js
+++ b/featureClass/featureManager.js
@@ -409,6 +409,8 @@ class FeatureManager {
registerCustom(type, func, context) {
let id = this.lastChatEventId++
+ if (!func) throw new Error("Function must not be null")
+
this.customEvents[id] = {
func: func,
context: context,