diff --git a/eco-api/src/main/java/com/willfp/eco/core/gui/slot/FillerSlot.java b/eco-api/src/main/java/com/willfp/eco/core/gui/slot/FillerSlot.java index e8e7e394..807e7a40 100644 --- a/eco-api/src/main/java/com/willfp/eco/core/gui/slot/FillerSlot.java +++ b/eco-api/src/main/java/com/willfp/eco/core/gui/slot/FillerSlot.java @@ -1,10 +1,8 @@ package com.willfp.eco.core.gui.slot; -import com.willfp.eco.core.items.TestableItem; import org.bukkit.entity.Player; import org.bukkit.inventory.ItemStack; import org.jetbrains.annotations.NotNull; -import org.jetbrains.annotations.Nullable; /** * A filler slot is a slot that does nothing when clicked. diff --git a/eco-api/src/main/java/com/willfp/eco/core/gui/slot/Slot.java b/eco-api/src/main/java/com/willfp/eco/core/gui/slot/Slot.java index cebd61e9..5995e11b 100644 --- a/eco-api/src/main/java/com/willfp/eco/core/gui/slot/Slot.java +++ b/eco-api/src/main/java/com/willfp/eco/core/gui/slot/Slot.java @@ -36,10 +36,7 @@ public interface Slot { * @param player The player. * @return The item, or null if no captive default was found. */ - @Nullable - default TestableItem getCaptiveDefault(@NotNull Player player) { - return null; - } + @Nullable TestableItem getCaptiveDefault(@NotNull Player player); /** * Create a builder for an ItemStack.