neoforged / NeoFormRuntime

GNU Lesser General Public License v2.1
2 stars 2 forks source link

Fix toggle-options not working correctly when no true/false argument was supplied #26

Closed shartte closed 4 months ago

shartte commented 4 months ago

I.e. --color should enable color, but it doesn't when no fallbackValue=true is set. With negatable=true, this enables --color and --no-color to work as expected.

neoforged-pr-publishing[bot] commented 4 months ago

Last commit published: e14319a486c5bc7efbdac0c0d1b8373010da06a0.

PR Publishing ### The artifacts published by this PR: - :package: [`net.neoforged:neoform-runtime:0.1.65-pr-26-toggle-options`](https://github.com/neoforged/NeoFormRuntime/packages/2194139) ### Repository Declaration In order to use the artifacts published by the PR, add the following repository to your buildscript: ```gradle repositories { maven { name 'Maven for PR #26' // https://github.com/neoforged/NeoFormRuntime/pull/26 url 'https://prmaven.neoforged.net/NeoFormRuntime/pr26' content { includeModule('net.neoforged', 'neoform-runtime') } } } ```