Skip to content

Commit ee20a6d

Browse files
Fix plugins not resolving dependancies that weren't already loaded (thanks Tree)
1 parent 003a737 commit ee20a6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fCraft/Plugins/PluginManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public static void Init() {
6464
}
6565

6666
static void LoadTypes(string file) {
67-
Assembly lib = Assembly.LoadFile(Path.GetFullPath(file));
67+
Assembly lib = Assembly.LoadFrom(Path.GetFullPath(file));
6868
if (lib == null) return;
6969

7070
foreach (Type t in lib.GetTypes()) {

0 commit comments

Comments
 (0)