public void onChange(ModOption option) { CaptionAPI.setCaptioning(((ModOptionBoolean) option).getValue()); mod_CaptionAPI.saveOptions(); }