aboutsummaryrefslogtreecommitdiff
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
parent4ac6aa6762522516d0e5b0db9ebd45bc3067fbac (diff)
downloadSoopyV2-fff43a42e4ddfd38ff863c509b50e16e79b25162.tar.gz
SoopyV2-fff43a42e4ddfd38ff863c509b50e16e79b25162.tar.bz2
SoopyV2-fff43a42e4ddfd38ff863c509b50e16e79b25162.zip
+ fix minos hp not dissapearing when mobs killed
-rw-r--r--features/events/index.js2
-rw-r--r--metadata.json4
2 files changed, 3 insertions, 3 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() {
diff --git a/metadata.json b/metadata.json
index cc9d65d..89637ea 100644
--- a/metadata.json
+++ b/metadata.json
@@ -5,8 +5,8 @@
"entry": "index.js",
"description": "SoopyV2",
"name": "SoopyV2",
- "version": "2.1.131",
- "versionId": 258,
+ "version": "2.1.132",
+ "versionId": 259,
"requires": [
"soopyApis",
"soopyAddonsData",