mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-27 15:30:58 -04:00
Pass .dll to the plugin loader. Fixes #121
This commit is contained in:
parent
86b3f3d374
commit
15d9aab358
@ -28,7 +28,7 @@ namespace MCGalaxy.Commands
|
|||||||
public override void Use(Player p, string message)
|
public override void Use(Player p, string message)
|
||||||
{
|
{
|
||||||
if (File.Exists("plugins/" + message + ".dll"))
|
if (File.Exists("plugins/" + message + ".dll"))
|
||||||
Plugin.Load(message, false);
|
Plugin.Load(message + ".dll", false);
|
||||||
else
|
else
|
||||||
Player.SendMessage(p, "Plugin not found!");
|
Player.SendMessage(p, "Plugin not found!");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user