mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 06:28:54 +00:00
Fix cross world radius, log exceptions in event subscribers
This commit is contained in:
1 parent
b5c7b16f8d
commit
4a71b5926e
5 files changed
+23
-10
No files matched your search
@@ -25,6 +25,7 @@ import net.draycia.carbon.api.users.CarbonPlayer;
|
||||
import net.draycia.carbon.api.util.KeyedRenderer;
|
||||
import net.kyori.adventure.audience.Audience;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
|
||||
import org.checkerframework.checker.nullness.qual.NonNull;
|
||||
import org.checkerframework.checker.nullness.qual.Nullable;
|
||||
import org.checkerframework.framework.qual.DefaultQualifier;
|
||||
@@ -128,7 +129,7 @@ public class CarbonChatEvent implements ResultedCarbonEvent<CarbonChatEvent.Resu
|
||||
* @return the chat channel
|
||||
* @since 2.0.0
|
||||
*/
|
||||
public @Nullable ChatChannel chatChannel() {
|
||||
public @MonotonicNonNull ChatChannel chatChannel() {
|
||||
return this.chatChannel;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user