3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-11-20 06:50:09 +01:00

Event owner can be null

Dieser Commit ist enthalten in:
RednedEpic 2022-01-15 23:01:40 -06:00
Ursprung b82c661688
Commit 57345fa102

Datei anzeigen

@ -26,6 +26,7 @@
package org.geysermc.geyser.api.event; package org.geysermc.geyser.api.event;
import org.checkerframework.checker.nullness.qual.NonNull; import org.checkerframework.checker.nullness.qual.NonNull;
import org.checkerframework.checker.nullness.qual.Nullable;
import org.geysermc.geyser.api.extension.Extension; import org.geysermc.geyser.api.extension.Extension;
import java.util.function.Consumer; import java.util.function.Consumer;
@ -62,7 +63,7 @@ public interface EventSubscription<T extends Event> {
* *
* @return the extension that owns this subscription * @return the extension that owns this subscription
*/ */
@NonNull @Nullable
Extension owner(); Extension owner();
/** /**