diff --git a/src/main/java/net/minestom/server/event/EventFilter.java b/src/main/java/net/minestom/server/event/EventFilter.java index ce26461e9..c6f591109 100644 --- a/src/main/java/net/minestom/server/event/EventFilter.java +++ b/src/main/java/net/minestom/server/event/EventFilter.java @@ -2,7 +2,6 @@ package net.minestom.server.event; import net.minestom.server.entity.Entity; import net.minestom.server.entity.Player; -import net.minestom.server.event.handler.EventHandler; import net.minestom.server.event.trait.*; import net.minestom.server.instance.Instance; import net.minestom.server.inventory.Inventory; @@ -14,7 +13,7 @@ import java.util.function.Function; public interface EventFilter { - EventFilter ALL = from(Event.class); + EventFilter ALL = from(Event.class); EventFilter ENTITY = from(EntityEvent.class, Entity.class, EntityEvent::getEntity); EventFilter PLAYER = from(PlayerEvent.class, Player.class, PlayerEvent::getPlayer); EventFilter ITEM = from(ItemEvent.class, ItemStack.class, ItemEvent::getItemStack);