Skip to content
This repository has been archived by the owner on Sep 12, 2020. It is now read-only.

Commit

Permalink
fixed bug that plugins named PluginNameSynapse.dll doesnt load
Browse files Browse the repository at this point in the history
  • Loading branch information
GrafDimenzio committed Jul 23, 2020
1 parent 2092494 commit 25ff3d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Synapse/Synapse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ internal static void Start()

foreach (var plugin in Directory.GetFiles(Files.ServerPluginDirectory))
{
if (plugin.EndsWith("Synapse.dll")) continue;
if (plugin == "Synapse.dll") continue;

if (plugin.EndsWith(".dll")) LoadPlugin(plugin);
}
Expand Down

0 comments on commit 25ff3d0

Please sign in to comment.