Browse Source

patch 105

WithoutLogic 5 years ago
parent
commit
04ebea9720
2 changed files with 3 additions and 3 deletions
  1. 2 2
      index.js
  2. 1 1
      manifest.json

+ 2 - 2
index.js

@@ -84,7 +84,7 @@ module.exports = function AutoHeal(mod) {
     function load() {
         if (!hooks.length) {
             
-            hook('S_PARTY_MEMBER_LIST', 7, (event) => {             
+            hook('S_PARTY_MEMBER_LIST', 8, (event) => {             
                 const copy = partyMembers;          
                 partyMembers = event.members.filter(m => m.playerId != mod.game.me.playerId); // remove self from targets
                 
@@ -125,7 +125,7 @@ module.exports = function AutoHeal(mod) {
                 }
             })
             
-            hook('S_USER_LOCATION', 5, (event) => {     
+            hook('S_USER_LOCATION', 6, (event) => {     
                 let member = partyMembers.find(m => m.gameId === event.gameId);
                 if (member) member.loc = event.loc;
             })

+ 1 - 1
manifest.json

@@ -4,7 +4,7 @@
 			"overwrite": false,
 			"hash": "587bd6b05d5f53bca6abc0a10a71b5f19fb33512a144b619a0bf469cf7b5d66c"
 		},
-        "index.js": "5b3f8eaa69c6b1c3950221806583230a6c5c6a7c5216ddf3929f0951257a8725",
+        "index.js": "fe1c7d737522bd8512abbbe66cc50561ac53e29f2835e7b283c0cf1c5d04a234",
         "module.json": "992ccca15a09437b74caded28d2f6af8fea5c533b2153ab22995e32cea13203b",
         "settings_migrator.js": "d179ced619b903e02b5591ad25a4070351b777165f028bd274d60567d9a1bd5b"
     }