Browse Source

fix again

Pentagon 8 years ago
parent
commit
5b493d81a1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      index.js

+ 2 - 2
index.js

@@ -790,12 +790,12 @@ module.exports = function FpsUtils2(dispatch) {
     });
 
     dispatch.hook('S_FEARMOVE_STAGE', 1, (event) => {
-        if ((!event.target.equals(myId) && config.mode === 3) || hiddenUsers[event.target]) {
+        if ((!event.target.equals(myId) && config.mode === 3) || hiddenUsers[event.target] || hiddenNpcs[event.target]) {
             return false;
         }
     });
     dispatch.hook('S_FEARMOVE_END', 1, (event) => {
-        if ((!event.target.equals(myId) && config.mode === 3) || hiddenUsers[event.target]) {
+        if ((!event.target.equals(myId) && config.mode === 3) || hiddenUsers[event.target] || hiddenNpcs[event.target]) {
             return false;
         }
     });