Event owner can be null

This commit is contained in:
RednedEpic 2022-01-15 23:01:40 -06:00
parent b82c661688
commit 57345fa102

View file

@ -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();
/**