fix current path not being normalised in path checks (#173)
This commit is contained in:
parent
9c53a254d5
commit
ac5bcce02d
|
@ -80,7 +80,7 @@ namespace StardewModdingAPI.Framework
|
|||
|
||||
// intercept load
|
||||
T data = base.Load<T>(assetName);
|
||||
IContentEventHelper helper = new ContentEventHelper(assetName, data, this.NormaliseAssetKey);
|
||||
IContentEventHelper helper = new ContentEventHelper(key, data, this.NormaliseAssetKey);
|
||||
ContentEvents.InvokeAssetLoading(this.Monitor, helper);
|
||||
this.Cache[key] = helper.Data;
|
||||
return (T)helper.Data;
|
||||
|
|
Loading…
Reference in New Issue