Browse Source

Tiny fix.

Risenio 5 years ago
parent
commit
7b34aac10f
2 changed files with 2 additions and 2 deletions
  1. 1 1
      index.js
  2. 1 1
      manifest.json

+ 1 - 1
index.js

@@ -142,7 +142,7 @@ module.exports = function boxOpener(dispatch){
 			}
 			}
 		});
 		});
 		
 		
-		hook('S_REQUEST_CONTRACT', mod.majorPatchVersion > 107 ? 2 : 1, event => {
+		hook('S_REQUEST_CONTRACT', dispatch.majorPatchVersion > 107 ? 2 : 1, event => {
 			if(event.type !== 53) return;
 			if(event.type !== 53) return;
 			dispatch.hookOnce('S_GACHA_START', 'raw', () => {
 			dispatch.hookOnce('S_GACHA_START', 'raw', () => {
 				gacha_detected = true;
 				gacha_detected = true;

+ 1 - 1
manifest.json

@@ -1,7 +1,7 @@
 {
 {
 	"files": {
 	"files": {
 		"README.md": "8b1704eff4c6f1989542d77d59666e28bfda029392946c5688d88af94cced028",
 		"README.md": "8b1704eff4c6f1989542d77d59666e28bfda029392946c5688d88af94cced028",
-		"index.js": "ee7f63c78b8b0bdca1ce676a01d4d49b3d48827bfb522ecf1d16093c5d1732f3",
+		"index.js": "f8d050b541b204ba5becdd779c570c371b7b4351d2153c194152169615109572",
 		"module.json": "c40095006cfede1be501b2c0204dd2d778cd963dc0cb26e33dc3c8a839123fab"
 		"module.json": "c40095006cfede1be501b2c0204dd2d778cd963dc0cb26e33dc3c8a839123fab"
 	},
 	},
 	"defs": {
 	"defs": {