Skip to content

Commit

Permalink
Fix plugins not resolving dependancies that weren't already loaded (t…
Browse files Browse the repository at this point in the history
…hanks Tree)
  • Loading branch information
UnknownShadow200 committed Dec 18, 2017
1 parent 003a737 commit ee20a6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fCraft/Plugins/PluginManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ internal static class PluginManager {
}

static void LoadTypes(string file) {
Assembly lib = Assembly.LoadFile(Path.GetFullPath(file));
Assembly lib = Assembly.LoadFrom(Path.GetFullPath(file));
if (lib == null) return;

foreach (Type t in lib.GetTypes()) {
Expand Down

0 comments on commit ee20a6d

Please sign in to comment.