aboutsummaryrefslogtreecommitdiff
path: root/features/slayers/index.js
diff options
context:
space:
mode:
authorEmeraldMerchant <96396730+EmeraldMerchant@users.noreply.github.com>2022-06-25 15:12:16 +0800
committerGitHub <noreply@github.com>2022-06-25 15:12:16 +0800
commit6b9634041be94691ca38920da732691ba33b5d81 (patch)
treeb530f3c09f35fc942545ca5ca3f85c90dd86e988 /features/slayers/index.js
parente9f6cc426ad7d5ac9d07879c2d58ee3538acd4b4 (diff)
downloadSoopyV2-6b9634041be94691ca38920da732691ba33b5d81.tar.gz
SoopyV2-6b9634041be94691ca38920da732691ba33b5d81.tar.bz2
SoopyV2-6b9634041be94691ca38920da732691ba33b5d81.zip
fixed a step
^
Diffstat (limited to 'features/slayers/index.js')
-rw-r--r--features/slayers/index.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/features/slayers/index.js b/features/slayers/index.js
index 9388bc1..590970a 100644
--- a/features/slayers/index.js
+++ b/features/slayers/index.js
@@ -200,7 +200,8 @@ class Slayers extends Feature {
this.registerEvent("tick", this.tick);
this.registerEvent("renderWorld", this.renderWorld);
this.registerEvent("worldLoad", this.worldLoad);
- this.registerStep(true, 3, this.step);
+ this.registerStep(true, 2, this.step);
+ this.registerStep(true, 4, this.step_4fps);
}
slayerLocationData(loc, user) {
@@ -296,7 +297,7 @@ class Slayers extends Feature {
this.todoE2.push(event.entity);
}
- step() {
+ step_4fps() {
if (this.hideSummonsForLoot.getValue() && this.hideSummons) {
this.renderEntityEvent.register();
} else if (this.hideSummonsForLoot.getValue()) {