public static void removeSelected() {
		if (Main.selectedId != -1 && !Main.getSelected().locked) {
			RSInterface rsi = Main.getInterface();
			if (rsi.children != null) {
				int index = getSelectedIndex();
				rsi.children.remove(index);
				rsi.childX.remove(index);
				rsi.childY.remove(index);
			}
			UserInterface.ui.rebuildTreeList();
		}
	}