From 2ce1a023ff3a111793e8be00349d60a3e8b82909 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Wed, 11 May 2022 07:21:33 +0800 Subject: + Small accuracy improvements on burrial location estimation (uses the yellow particles now instead of the enchant table one) --- featureClass/featureManager.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'featureClass') 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, -- cgit