Skip to content

Commit dc68be7

Browse files
committed
[F] Expected reference type but got type kind 17
1 parent 776ebc8 commit dc68be7

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

mod/WorldLink/FutariPatch.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,8 @@ public static bool CheckAuth_Proc()
8787
if (isInit) return PrefixRet.RUN_ORIGINAL;
8888
Log.Info("CheckAuth_Proc");
8989

90-
var keychip = AMDaemon.System.KeychipId.ShortValue;
91-
Log.Info($"Keychip ID: {keychip}");
92-
if (string.IsNullOrEmpty(keychip)) Log.Error("Keychip ID is empty. WorldLink will not work.");
93-
9490
// Randomize keychip
95-
keychip = "W9" + new System.Random().Next(100000000, 999999999);
91+
var keychip = "W9" + new System.Random().Next(100000000, 999999999);
9692

9793
// Wait until the client is initialized
9894
new System.Threading.Thread(() =>

0 commit comments

Comments
 (0)