aboutsummaryrefslogtreecommitdiff
path: root/features/events/index.js
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-07-26 20:15:55 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-07-26 20:15:55 +0800
commitfff43a42e4ddfd38ff863c509b50e16e79b25162 (patch)
tree514b8cb51233a411c38715e7eabe74bccafecba1 /features/events/index.js
parent4ac6aa6762522516d0e5b0db9ebd45bc3067fbac (diff)
downloadSoopyV2-fff43a42e4ddfd38ff863c509b50e16e79b25162.tar.gz
SoopyV2-fff43a42e4ddfd38ff863c509b50e16e79b25162.tar.bz2
SoopyV2-fff43a42e4ddfd38ff863c509b50e16e79b25162.zip
+ fix minos hp not dissapearing when mobs killed
Diffstat (limited to 'features/events/index.js')
-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() {