File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -120,7 +120,6 @@ public void OnRoundEnded(RoundEndedEventArgs ev)
120120 Extensions . SavingPlayerData ( player ) ;
121121
122122 File . WriteAllLines ( plugin . OverwatchFilePath , Main . Overwatch ) ;
123- File . WriteAllLines ( plugin . HiddenTagsFilePath , Main . HiddenTags ) ;
124123 }
125124
126125 public void OnTriggeringTesla ( TriggeringTeslaEventArgs ev )
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ public class Main : Plugin<Config>
2424 public static Dictionary < Player , List < GameObject > > BchHubs { get ; } = new ( ) ;
2525
2626 public string OverwatchFilePath { get ; private set ; }
27- public string HiddenTagsFilePath { get ; private set ; }
2827
2928 public Harmony Harmony { get ; } = new ( "Exiled-AdminTools" ) ;
3029 public EventHandlers EventHandlers { get ; private set ; }
@@ -42,9 +41,7 @@ public override void OnEnabled()
4241 {
4342 string path = Path . Combine ( Paths . Configs , "AdminTools" ) ;
4443 string overwatchFileName = Path . Combine ( path , "AdminTools-Overwatch.txt" ) ;
45- string hiddenTagFileName = Path . Combine ( path , "AdminTools-HiddenTags.txt" ) ;
4644 OverwatchFilePath = overwatchFileName ;
47- HiddenTagsFilePath = hiddenTagFileName ;
4845
4946 if ( ! Directory . Exists ( path ) )
5047 Directory . CreateDirectory ( path ) ;
@@ -53,10 +50,6 @@ public override void OnEnabled()
5350 File . Create ( overwatchFileName ) . Close ( ) ;
5451 else
5552 Overwatch = File . ReadAllLines ( overwatchFileName ) . ToList ( ) ;
56- if ( ! File . Exists ( hiddenTagFileName ) )
57- File . Create ( hiddenTagFileName ) . Close ( ) ;
58- else
59- HiddenTags = File . ReadAllLines ( hiddenTagFileName ) . ToList ( ) ;
6053 }
6154 catch ( Exception e )
6255 {
You can’t perform that action at this time.
0 commit comments