Revert "Fixed backwards compatibility"

This reverts commit 1f7cf78491.
This commit is contained in:
Auxilor
2022-05-28 17:08:01 +01:00
parent 5ae8e72a98
commit fe68760184
2 changed files with 1 additions and 6 deletions

View File

@@ -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.

View File

@@ -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.