@@ -1,10 +1,8 @@
|
|||||||
package com.willfp.eco.core.gui.slot;
|
package com.willfp.eco.core.gui.slot;
|
||||||
|
|
||||||
import com.willfp.eco.core.items.TestableItem;
|
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.inventory.ItemStack;
|
import org.bukkit.inventory.ItemStack;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
import org.jetbrains.annotations.Nullable;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A filler slot is a slot that does nothing when clicked.
|
* A filler slot is a slot that does nothing when clicked.
|
||||||
|
|||||||
@@ -36,10 +36,7 @@ public interface Slot {
|
|||||||
* @param player The player.
|
* @param player The player.
|
||||||
* @return The item, or null if no captive default was found.
|
* @return The item, or null if no captive default was found.
|
||||||
*/
|
*/
|
||||||
@Nullable
|
@Nullable TestableItem getCaptiveDefault(@NotNull Player player);
|
||||||
default TestableItem getCaptiveDefault(@NotNull Player player) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a builder for an ItemStack.
|
* Create a builder for an ItemStack.
|
||||||
|
|||||||
Reference in New Issue
Block a user