mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-02 17:32:03 +01:00
Slight tweak to boolean PersistentDataType javadoc
By: md_5 <git@md-5.net>
This commit is contained in:
parent
4771f99d1d
commit
6c9fc2844d
1 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ public interface PersistentDataType<T, Z> {
|
||||||
/**
|
/**
|
||||||
* A convenience implementation to convert between Byte and Boolean as there is
|
* A convenience implementation to convert between Byte and Boolean as there is
|
||||||
* no native implementation for booleans. <br>
|
* no native implementation for booleans. <br>
|
||||||
* Any byte value > 0 is considered to be true.
|
* Any byte value not equal to 0 is considered to be true.
|
||||||
*/
|
*/
|
||||||
PersistentDataType<Byte, Boolean> BOOLEAN = new BooleanPersistentDataType();
|
PersistentDataType<Byte, Boolean> BOOLEAN = new BooleanPersistentDataType();
|
||||||
|
|
||||||
|
@ -169,7 +169,7 @@ public interface PersistentDataType<T, Z> {
|
||||||
/**
|
/**
|
||||||
* A convenience implementation to convert between Byte and Boolean as there is
|
* A convenience implementation to convert between Byte and Boolean as there is
|
||||||
* no native implementation for booleans. <br>
|
* no native implementation for booleans. <br>
|
||||||
* Any byte value > 0 is considered to be true.
|
* Any byte value not equal to 0 is considered to be true.
|
||||||
*/
|
*/
|
||||||
class BooleanPersistentDataType implements PersistentDataType<Byte, Boolean> {
|
class BooleanPersistentDataType implements PersistentDataType<Byte, Boolean> {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue