Browse Source

Using newer definition for S_ABNORMALITY_BEGIN

TeraProxy 9 years ago
parent
commit
aa418999e9
2 changed files with 4 additions and 2 deletions
  1. 2 0
      README.md
  2. 2 2
      index.js

+ 2 - 0
README.md

@@ -18,6 +18,8 @@ The script makes sure that you are not dead, mounted, in a battleground or in a
 Contains code from true-everful-nostrum by Pinkie Pie https://github.com/pinkipi  
   
 ## Changelog
+### 1.2.3
+* [*] Using newer version of S_ABNORMALITY_BEGIN hook
 ### 1.2.2
 * [*] Fixed trying to use CCB when players already have the new Elite CCB running
 ### 1.2.1

+ 2 - 2
index.js

@@ -1,4 +1,4 @@
-// Version 1.2.2
+// Version 1.2.3
 // Contains code from true-everful-nostrum by Pinkie Pie https://github.com/pinkipi
 const Command = require('command')
 
@@ -45,7 +45,7 @@ module.exports = function Essentials(dispatch) {
 			}
 	})
 
-	dispatch.hook('S_ABNORMALITY_BEGIN', 1, abnormality.bind(null, 'S_ABNORMALITY_BEGIN'))
+	dispatch.hook('S_ABNORMALITY_BEGIN', 2, abnormality.bind(null, 'S_ABNORMALITY_BEGIN'))
 	dispatch.hook('S_ABNORMALITY_REFRESH', 1, abnormality.bind(null, 'S_ABNORMALITY_REFRESH'))
 	dispatch.hook('S_ABNORMALITY_END', 1, abnormality.bind(null, 'S_ABNORMALITY_END'))