mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Messed up asset path
This commit is contained in:
@@ -149,7 +149,7 @@ public class SlotsCommand : ICommand
|
|||||||
|
|
||||||
public void LoadAssets()
|
public void LoadAssets()
|
||||||
{
|
{
|
||||||
var assetPath = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Default", "Assets");
|
var assetPath = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Assets", "Default");
|
||||||
|
|
||||||
if (!Directory.Exists(assetPath)) throw new DirectoryNotFoundException($"Assets folder missing at {assetPath}");
|
if (!Directory.Exists(assetPath)) throw new DirectoryNotFoundException($"Assets folder missing at {assetPath}");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user