mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
1.19.1 - fabric
aaaaaaaaaaaa
This commit is contained in:
1 parent
f4a8390d76
commit
af3410f874
8 files changed
+83
-15
No files matched your search
@@ -20,7 +20,7 @@
|
||||
package net.draycia.carbon.api.users;
|
||||
|
||||
import net.kyori.adventure.text.Component;
|
||||
import org.checkerframework.checker.nullness.qual.Nullable;
|
||||
import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
|
||||
|
||||
/**
|
||||
* The result of a player data operation.
|
||||
@@ -29,6 +29,6 @@ import org.checkerframework.checker.nullness.qual.Nullable;
|
||||
* @param reason the reason of the result, typically empty unless {@link #player} is null
|
||||
* @since 2.0.0
|
||||
*/
|
||||
public record ComponentPlayerResult<C extends CarbonPlayer>(@Nullable C player, Component reason) {
|
||||
public record ComponentPlayerResult<C extends CarbonPlayer>(@MonotonicNonNull C player, Component reason) {
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user