mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-23 04:32:50 -04:00
Core: Fix core aliases being duplicated in /help for commands after doing /server reload.
This commit is contained in:
parent
389264a7db
commit
a1866472e9
@ -50,7 +50,9 @@ namespace MCGalaxy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static void Load(){
|
public static void Load(){
|
||||||
aliases = new List<Alias>();
|
aliases.Clear();
|
||||||
|
coreAliases.Clear();
|
||||||
|
|
||||||
if (!File.Exists(file)) { Save(); return; }
|
if (!File.Exists(file)) { Save(); return; }
|
||||||
PropertiesFile.Read(file, LineProcessor, ':');
|
PropertiesFile.Read(file, LineProcessor, ':');
|
||||||
}
|
}
|
@ -125,6 +125,7 @@
|
|||||||
<Compile Include="Chat\FullCP437Handler.cs" />
|
<Compile Include="Chat\FullCP437Handler.cs" />
|
||||||
<Compile Include="Chat\ChatTokens.cs" />
|
<Compile Include="Chat\ChatTokens.cs" />
|
||||||
<Compile Include="Chat\LineWrapper.cs" />
|
<Compile Include="Chat\LineWrapper.cs" />
|
||||||
|
<Compile Include="Commands\Alias.cs" />
|
||||||
<Compile Include="Commands\Bots\CmdBotAdd.cs" />
|
<Compile Include="Commands\Bots\CmdBotAdd.cs" />
|
||||||
<Compile Include="Commands\Bots\CmdBotAI.cs" />
|
<Compile Include="Commands\Bots\CmdBotAI.cs" />
|
||||||
<Compile Include="Commands\Bots\CmdBotRemove.cs" />
|
<Compile Include="Commands\Bots\CmdBotRemove.cs" />
|
||||||
@ -575,7 +576,6 @@
|
|||||||
<Compile Include="Network\NetUtils.cs" />
|
<Compile Include="Network\NetUtils.cs" />
|
||||||
<Compile Include="Network\Opcode.cs" />
|
<Compile Include="Network\Opcode.cs" />
|
||||||
<Compile Include="Network\Player.Networking.cs" />
|
<Compile Include="Network\Player.Networking.cs" />
|
||||||
<Compile Include="Player\Alias.cs" />
|
|
||||||
<Compile Include="API\API.cs" />
|
<Compile Include="API\API.cs" />
|
||||||
<Compile Include="Plugins\Plugin.cs" />
|
<Compile Include="Plugins\Plugin.cs" />
|
||||||
<Compile Include="Plugins\Plugin.Events.cs" />
|
<Compile Include="Plugins\Plugin.Events.cs" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user