code: @SideOnly(Side.CLIENT)
  	@SubscribeEvent
  	public void onGuiClose(GuiOpenEvent event)
  	{
  		if (!MalisisGui.cancelClose || event.getGui() != null)
  			return;
  
  		MalisisGui.cancelClose = false;
  		event.setCanceled(true);
  	}
docs: Gui close event.<br>
  Used to cancel the closing of the {@link MalisisGui} when opened from command line.
  
  @param event the event