public void onSelectionChanged(GuiElementCheckbox checkbox, boolean newSelected)
{
if (checkbox.equals(this.enablePadRemovalButton))
{
this.launchController.launchPadRemovalDisabled = !newSelected;
GalacticraftCore.packetPipeline.sendToServer(new PacketSimpleMars(EnumSimplePacketMars.S_UPDATE_ADVANCED_GUI, new Object[] { 3, this.launchController.xCoord, this.launchController.yCoord, this.launchController.zCoord, this.launchController.launchPadRemovalDisabled ? 1 : 0 }));
}
else if (checkbox.equals(this.launchWhenCheckbox))
{
this.launchController.launchSchedulingEnabled = newSelected;
GalacticraftCore.packetPipeline.sendToServer(new PacketSimpleMars(EnumSimplePacketMars.S_UPDATE_ADVANCED_GUI, new Object[] { 4, this.launchController.xCoord, this.launchController.yCoord, this.launchController.zCoord, this.launchController.launchSchedulingEnabled ? 1 : 0 }));
}
}