aboutsummaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
Diffstat (limited to 'features')
-rw-r--r--features/events/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/events/index.js b/features/events/index.js
index bf955c5..5028e5d 100644
--- a/features/events/index.js
+++ b/features/events/index.js
@@ -144,7 +144,7 @@ class Events extends Feature {
}
}
})
- this.Mobs = this.Mobs.filter((e) => !e[f.isDead]);
+ this.Mobs = this.Mobs.filter((e) => !e.getEntity()[f.isDead]);
}
step_10fps() {