Fukki 8 years ago
parent
commit
d622857154
2 changed files with 3 additions and 3 deletions
  1. 2 2
      index.js
  2. 1 1
      manifest.json

+ 2 - 2
index.js

@@ -63,7 +63,7 @@ module.exports = function AutoPOT(mod) {
 		}
 	});
 	
-    mod.hook('S_PLAYER_STAT_UPDATE', 10, e => {
+	mod.hook('S_PLAYER_STAT_UPDATE', 10, e => {
 		if (config.enabled && config.hp) {
 			nowHP = Math.round(parseInt(e.hp) / parseInt(e.maxHp) * 100);
 			for (let hp = 0; hp < hpPot.length; hp++) {
@@ -84,7 +84,7 @@ module.exports = function AutoPOT(mod) {
 				}
 			}
 		}
-    });
+	});
 
 	function useItem(itemId) {
 		mod.send('C_USE_ITEM', 3, {

+ 1 - 1
manifest.json

@@ -1,6 +1,6 @@
 {
 	"files": {
-		"index.js": "8977177c92efc4c6aa7ae822935955c42e4738197f9165196d28637edcd314b7"
+		"index.js": "43605d476af5f84a5f4f82620c1c2eb9ebfa03e8215bf6c520a445058d29757c"
 	},
 	"defs": {
 		"C_USE_ITEM": 3,