File tree 2 files changed +9
-1
lines changed
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -428,6 +428,8 @@ public override void Initialize()
428
428
Hooks . AccountHooks . AccountDelete += OnAccountDelete ;
429
429
Hooks . AccountHooks . AccountCreate += OnAccountCreate ;
430
430
431
+ On . Terraria . RemoteClient . Reset += RemoteClient_Reset ;
432
+
431
433
GetDataHandlers . InitGetDataHandler ( ) ;
432
434
Commands . InitCommands ( ) ;
433
435
@@ -496,6 +498,12 @@ void SafeError(string message)
496
498
}
497
499
}
498
500
501
+ private static void RemoteClient_Reset ( On . Terraria . RemoteClient . orig_Reset orig , RemoteClient client )
502
+ {
503
+ client . ClientUUID = null ;
504
+ orig ( client ) ;
505
+ }
506
+
499
507
private static void OnAchievementInitializerLoad ( ILContext il )
500
508
{
501
509
// Modify AchievementInitializer.Load to remove the Main.netMode == 2 check (occupies the first 4 IL instructions)
Original file line number Diff line number Diff line change 18
18
Also, be sure to release on github with the exact assembly version tag as below
19
19
so that the update manager works correctly (via the Github releases api and mimic)
20
20
-->
21
- <Version >5.2.0 </Version >
21
+ <Version >5.2.1 </Version >
22
22
<AssemblyTitle >TShock for Terraria</AssemblyTitle >
23
23
<Company >Pryaxis & TShock Contributors</Company >
24
24
<Product >TShockAPI</Product >
You can’t perform that action at this time.
0 commit comments