Skip to content

Commit f615719

Browse files
authored
2.1.3
1 parent 0d9536e commit f615719

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Config/Helper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,7 @@ public static string GetGeoIsoCodeInfoAsync(string ipAddress)
972972

973973
try
974974
{
975-
using var reader = new DatabaseReader(Path.Combine(MainPlugin.Instance.ModuleDirectory, "GeoLocation/GeoLite2-City.mmdb"));
975+
using var reader = new DatabaseReader(Path.GetFullPath(Path.Combine(MainPlugin.Instance.ModuleDirectory, "..", "..", "shared/GoldKingZ/GeoLocation/GeoLite2-City.mmdb")));
976976

977977
var response = reader.City(ipAddress);
978978

0 commit comments

Comments
 (0)