diff --git a/src/main/java/org/betonquest/betonquest/quest/event/PrimaryServerThreadComposedEvent.java b/src/main/java/org/betonquest/betonquest/quest/event/PrimaryServerThreadComposedEvent.java index b01e6d997a..ceb0eade67 100644 --- a/src/main/java/org/betonquest/betonquest/quest/event/PrimaryServerThreadComposedEvent.java +++ b/src/main/java/org/betonquest/betonquest/quest/event/PrimaryServerThreadComposedEvent.java @@ -50,7 +50,7 @@ public PrimaryServerThreadComposedEvent(final ComposedEvent synced, final Primar public void execute(@Nullable final Profile profile) throws QuestRuntimeException { call(() -> { synced.execute(profile); - return null; // NullAway false positive: Void -> null + return null; }); } @@ -59,7 +59,7 @@ public void execute(@Nullable final Profile profile) throws QuestRuntimeExceptio public void execute() throws QuestRuntimeException { call(() -> { synced.execute(); - return null; // NullAway false positive: Void -> null + return null; }); } } diff --git a/src/main/java/org/betonquest/betonquest/quest/event/PrimaryServerThreadEvent.java b/src/main/java/org/betonquest/betonquest/quest/event/PrimaryServerThreadEvent.java index 9756e9262a..1bc3629784 100644 --- a/src/main/java/org/betonquest/betonquest/quest/event/PrimaryServerThreadEvent.java +++ b/src/main/java/org/betonquest/betonquest/quest/event/PrimaryServerThreadEvent.java @@ -49,7 +49,7 @@ public PrimaryServerThreadEvent(final Event synced, final PrimaryServerThreadDat public void execute(final Profile profile) throws QuestRuntimeException { call(() -> { synced.execute(profile); - return null; // NullAway false positive: Void -> null + return null; }); } } diff --git a/src/main/java/org/betonquest/betonquest/quest/event/PrimaryServerThreadStaticEvent.java b/src/main/java/org/betonquest/betonquest/quest/event/PrimaryServerThreadStaticEvent.java index 426e93afa8..c0ec59728f 100644 --- a/src/main/java/org/betonquest/betonquest/quest/event/PrimaryServerThreadStaticEvent.java +++ b/src/main/java/org/betonquest/betonquest/quest/event/PrimaryServerThreadStaticEvent.java @@ -30,7 +30,7 @@ public PrimaryServerThreadStaticEvent(final StaticEvent synced, final PrimarySer public void execute() throws QuestRuntimeException { call(() -> { synced.execute(); - return null; // NullAway false positive: Void -> null + return null; }); } }