From 15d9aab358eea24e01024c9f8e911a5eff46c408 Mon Sep 17 00:00:00 2001 From: UclCommander Date: Mon, 4 Apr 2016 15:11:20 -0500 Subject: [PATCH] Pass .dll to the plugin loader. Fixes #121 --- Commands/Moderation/CmdPLoad.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Commands/Moderation/CmdPLoad.cs b/Commands/Moderation/CmdPLoad.cs index 849efd8ad..32fd7a79c 100644 --- a/Commands/Moderation/CmdPLoad.cs +++ b/Commands/Moderation/CmdPLoad.cs @@ -28,7 +28,7 @@ namespace MCGalaxy.Commands public override void Use(Player p, string message) { if (File.Exists("plugins/" + message + ".dll")) - Plugin.Load(message, false); + Plugin.Load(message + ".dll", false); else Player.SendMessage(p, "Plugin not found!"); }