Add ToLower to WorldTileProvider switch
Allows "room for error in capitalization" as per review discussion.
This commit is contained in:
parent
0f46b1255a
commit
b8afcd874d
1 changed files with 1 additions and 1 deletions
|
|
@ -384,7 +384,7 @@ namespace TShockAPI
|
||||||
Geo = new GeoIPCountry(geoippath);
|
Geo = new GeoIPCountry(geoippath);
|
||||||
|
|
||||||
// check if a custom tile provider is to be used
|
// check if a custom tile provider is to be used
|
||||||
switch(Config.Settings.WorldTileProvider)
|
switch(Config.Settings.WorldTileProvider?.ToLower())
|
||||||
{
|
{
|
||||||
case "heaptile":
|
case "heaptile":
|
||||||
Log.ConsoleInfo(GetString($"Using {nameof(HeapTile)} for tile implementation"), TraceLevel.Info);
|
Log.ConsoleInfo(GetString($"Using {nameof(HeapTile)} for tile implementation"), TraceLevel.Info);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue