diff --git a/src/main/java/net/minestom/server/event/EventNode.java b/src/main/java/net/minestom/server/event/EventNode.java index d753dc53e..8fd69009c 100644 --- a/src/main/java/net/minestom/server/event/EventNode.java +++ b/src/main/java/net/minestom/server/event/EventNode.java @@ -9,7 +9,7 @@ import java.util.function.Predicate; public interface EventNode { - static EventNode type(@NotNull EventFilter filter) { + static EventNode type(@NotNull EventFilter filter) { return new EventNodeImpl<>(filter); }