mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Event owner can be null
This commit is contained in:
parent
b82c661688
commit
57345fa102
1 changed files with 2 additions and 1 deletions
|
@ -26,6 +26,7 @@
|
|||
package org.geysermc.geyser.api.event;
|
||||
|
||||
import org.checkerframework.checker.nullness.qual.NonNull;
|
||||
import org.checkerframework.checker.nullness.qual.Nullable;
|
||||
import org.geysermc.geyser.api.extension.Extension;
|
||||
|
||||
import java.util.function.Consumer;
|
||||
|
@ -62,7 +63,7 @@ public interface EventSubscription<T extends Event> {
|
|||
*
|
||||
* @return the extension that owns this subscription
|
||||
*/
|
||||
@NonNull
|
||||
@Nullable
|
||||
Extension owner();
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue