From fff43a42e4ddfd38ff863c509b50e16e79b25162 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Tue, 26 Jul 2022 20:15:55 +0800 Subject: + fix minos hp not dissapearing when mobs killed --- features/events/index.js | 2 +- metadata.json | 4 ++-- 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", -- cgit