Remove unused forceCuboid checkbox.

This commit is contained in:
UnknownShadow200 2016-08-18 23:47:57 +10:00
parent ec80490619
commit 22b1fe89cf
3 changed files with 3 additions and 24 deletions

View File

@ -130,9 +130,9 @@ namespace MCGalaxy.Gui {
public static List<string> GetColorsList() {
List<string> colors = new List<string>() {
"Black", "Navy", "Green", "Teal", "Maroon",
"Purple", "Gold", "Silver", "Gray", "Blue",
"Lime", "Aqua", "Red", "Pink", "Yellow", "White" };
"black", "navy", "green", "teal", "maroon",
"purple", "gold", "silver", "gray", "blue",
"lime", "aqua", "red", "pink", "yellow", "white" };
for (int i = 0; i < 256; i++) {
if (Colors.ExtColors[i].Undefined) continue;

View File

@ -121,7 +121,6 @@ namespace MCGalaxy.Gui
this.txtBackup = new System.Windows.Forms.TextBox();
this.txtafk = new System.Windows.Forms.TextBox();
this.txtAFKKick = new System.Windows.Forms.TextBox();
this.chkForceCuboid = new System.Windows.Forms.CheckBox();
this.hackrank_kick = new System.Windows.Forms.CheckBox();
this.chkIRC = new System.Windows.Forms.CheckBox();
this.txtNick = new System.Windows.Forms.TextBox();
@ -1243,19 +1242,6 @@ namespace MCGalaxy.Gui
this.txtAFKKick.TabIndex = 9;
this.toolTip.SetToolTip(this.txtAFKKick, "Kick the user after they have been afk for this many minutes (0 = No kick)");
//
// chkForceCuboid
//
this.chkForceCuboid.Appearance = System.Windows.Forms.Appearance.Button;
this.chkForceCuboid.AutoSize = true;
this.chkForceCuboid.Location = new System.Drawing.Point(523, 266);
this.chkForceCuboid.Name = "chkForceCuboid";
this.chkForceCuboid.Size = new System.Drawing.Size(78, 23);
this.chkForceCuboid.TabIndex = 29;
this.chkForceCuboid.Text = "Force Cuboid";
this.toolTip.SetToolTip(this.chkForceCuboid, "When true, runs an attempted cuboid despite cuboid limits, until it hits the grou" +
"p limit for that user.");
this.chkForceCuboid.UseVisualStyleBackColor = true;
//
// hackrank_kick
//
this.hackrank_kick.AutoSize = true;
@ -2206,7 +2192,6 @@ namespace MCGalaxy.Gui
this.pageMisc.Controls.Add(this.grpAFK);
this.pageMisc.Controls.Add(this.grpBackups);
this.pageMisc.Controls.Add(this.chkProfanityFilter);
this.pageMisc.Controls.Add(this.chkForceCuboid);
this.pageMisc.Font = new System.Drawing.Font("Calibri", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.pageMisc.Location = new System.Drawing.Point(4, 22);
this.pageMisc.Name = "pageMisc";
@ -4400,7 +4385,6 @@ namespace MCGalaxy.Gui
private System.Windows.Forms.CheckBox hackrank_kick;
private System.Windows.Forms.CheckBox chkProfanityFilter;
private System.Windows.Forms.CheckBox chkRepeatMessages;
private System.Windows.Forms.CheckBox chkForceCuboid;
private System.Windows.Forms.CheckBox chat_chkCheap;
private System.Windows.Forms.CheckBox chkDeath;
private System.Windows.Forms.CheckBox chk17Dollar;

View File

@ -314,10 +314,6 @@ namespace MCGalaxy.Gui {
chkLogBeat.Checked = ( value.ToLower() == "true" );
break;
case "force-cuboid":
chkForceCuboid.Checked = ( value.ToLower() == "true" );
break;
case "profanity-filter":
chkProfanityFilter.Checked = ( value.ToLower() == "true" );
break;
@ -594,7 +590,6 @@ namespace MCGalaxy.Gui {
Server.afkkickperm = Group.Find(cmbAFKKickPerm.SelectedItem.ToString()).Permission;
Server.logbeat = chkLogBeat.Checked;
Server.forceCuboid = chkForceCuboid.Checked;
Server.profanityFilter = chkProfanityFilter.Checked;
Server.repeatMessage = chkRepeatMessages.Checked;
Server.ZallState = chat_txtConsole.Text;