Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-23 23:00:21 +01:00
Event owner can be null
Dieser Commit ist enthalten in:
Ursprung
b82c661688
Commit
57345fa102
@ -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();
|
||||
|
||||
/**
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren