Add ToLower to WorldTileProvider switch

Allows "room for error in capitalization" as per review discussion.
This commit is contained in:
Luke 2022-11-12 10:03:42 +10:00
parent 0f46b1255a
commit b8afcd874d

View file

@ -384,7 +384,7 @@ namespace TShockAPI
Geo = new GeoIPCountry(geoippath);
// check if a custom tile provider is to be used
switch(Config.Settings.WorldTileProvider)
switch(Config.Settings.WorldTileProvider?.ToLower())
{
case "heaptile":
Log.ConsoleInfo(GetString($"Using {nameof(HeapTile)} for tile implementation"), TraceLevel.Info);