This commit is contained in:
lexikiq
2021-06-12 20:04:20 -04:00
parent 5c424c1da7
commit fe5809fdc1

View File

@@ -83,6 +83,11 @@ public enum Tristate {
return this.booleanValue; return this.booleanValue;
} }
/**
* Returns the equivalent Adventure {@link TriState}.
*
* @return equivalent Adventure TriState
*/
public TriState toAdventureTriState() { public TriState toAdventureTriState() {
if (this == Tristate.TRUE) { if (this == Tristate.TRUE) {
return TriState.TRUE; return TriState.TRUE;