mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-17 11:18:55 -04:00
Fixed title bracket coloring.
Also added CmdMark, CmdRanks and CmdXModel back into the solution because they were gone for some reason.
This commit is contained in:
parent
a788c2219c
commit
a4c5d0bde6
@ -15,6 +15,7 @@
|
||||
or implied. See the Licenses for the specific language governing
|
||||
permissions and limitations under the Licenses.
|
||||
*/
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
namespace MCGalaxy.Commands
|
||||
|
@ -138,15 +138,18 @@
|
||||
<Compile Include="Commands\CmdGcbanlistupdate.cs" />
|
||||
<Compile Include="Commands\CmdGcmods.cs" />
|
||||
<Compile Include="Commands\CmdGcrules.cs" />
|
||||
<Compile Include="Commands\CmdMark.cs" />
|
||||
<Compile Include="Commands\CmdModel.cs" />
|
||||
<Compile Include="Commands\CmdMods.cs" />
|
||||
<Compile Include="Commands\CmdQuit.cs" />
|
||||
<Compile Include="Commands\CmdRanks.cs" />
|
||||
<Compile Include="Commands\CmdSearch.cs" />
|
||||
<Compile Include="Commands\CmdStaff.cs" />
|
||||
<Compile Include="Commands\CmdTexture.cs" />
|
||||
<Compile Include="Commands\CmdTntWars.cs" />
|
||||
<Compile Include="Commands\CmdTopFive.cs" />
|
||||
<Compile Include="Commands\CmdWhoNick.cs" />
|
||||
<Compile Include="Commands\CmdXModel.cs" />
|
||||
<Compile Include="Commands\CommandKeywords.cs" />
|
||||
<Compile Include="GUI\ColoredTextBox.cs">
|
||||
<SubType>Component</SubType>
|
||||
@ -769,4 +772,4 @@
|
||||
</Properties>
|
||||
</MonoDevelop>
|
||||
</ProjectExtensions>
|
||||
</Project>
|
||||
</Project>
|
@ -1,4 +1,4 @@
|
||||
/*
|
||||
/*
|
||||
Copyright 2010 MCSharp team (Modified for use with MCZall/MCLawl/MCGalaxy)
|
||||
Dual-licensed under the Educational Community License, Version 2.0 and
|
||||
the GNU General Public License, Version 3 (the "Licenses"); you may
|
||||
@ -1465,7 +1465,8 @@ namespace MCGalaxy {
|
||||
|
||||
public void SetPrefix() {
|
||||
string viptitle = isDev ? string.Format("{1}[{0}Dev{1}] ", c.Parse("blue"), color) : isMod ? string.Format("{1}[{0}Mod{1}] ", c.Parse("lime"), color) : isGCMod ? string.Format("{1}[{0}GCMod{1}] ", c.Parse("gold"), color) : "";
|
||||
prefix = ( title == "" ) ? "" : ( titlecolor == "" ) ? color + "[" + title + color + "] " : titlecolor + "[" + titlecolor + title + titlecolor + "] " + color;
|
||||
//prefix = ( title == "" ) ? "" : ( titlecolor == "" ) ? color + "[" + title + color + "] " : titlecolor + "[" + titlecolor + title + titlecolor + "] " + color;
|
||||
prefix = ( title == "" ) ? "" : ( titlecolor == "" ) ? color + "[" + title + "] " : color + "[" + titlecolor + title + color + "] ";
|
||||
prefix = viptitle + prefix;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user