diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-05-11 07:21:33 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-05-11 07:21:33 +0800 |
commit | 2ce1a023ff3a111793e8be00349d60a3e8b82909 (patch) | |
tree | fc0628fd127dfb1b143df0eb15f85663443d71a6 /featureClass | |
parent | ba94654e7fd5d156ff80d06510f40ab653c40e66 (diff) | |
download | SoopyV2-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.js | 2 |
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, |