diff --git a/invui-core/src/main/java/xyz/xenondevs/invui/inventory/CompositeInventory.java b/invui-core/src/main/java/xyz/xenondevs/invui/inventory/CompositeInventory.java index 3a03e361..624c6b0a 100644 --- a/invui-core/src/main/java/xyz/xenondevs/invui/inventory/CompositeInventory.java +++ b/invui-core/src/main/java/xyz/xenondevs/invui/inventory/CompositeInventory.java @@ -1,7 +1,6 @@ package xyz.xenondevs.invui.inventory; import org.bukkit.inventory.ItemStack; -import org.bukkit.util.Consumer; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import xyz.xenondevs.invui.inventory.event.ItemPostUpdateEvent; @@ -10,6 +9,7 @@ import xyz.xenondevs.invui.util.Pair; import java.util.Collection; +import java.util.function.Consumer; /** * An {@link Inventory} which is composed of multiple other {@link Inventory Inventories}. diff --git a/invui-core/src/main/java/xyz/xenondevs/invui/inventory/Inventory.java b/invui-core/src/main/java/xyz/xenondevs/invui/inventory/Inventory.java index f4f1ddd4..f4ad38cc 100644 --- a/invui-core/src/main/java/xyz/xenondevs/invui/inventory/Inventory.java +++ b/invui-core/src/main/java/xyz/xenondevs/invui/inventory/Inventory.java @@ -3,7 +3,6 @@ import org.bukkit.Material; import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.meta.ItemMeta; -import org.bukkit.util.Consumer; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import xyz.xenondevs.invui.InvUI; @@ -18,6 +17,7 @@ import xyz.xenondevs.invui.window.Window; import java.util.*; +import java.util.function.Consumer; import java.util.function.Function; import java.util.function.Predicate; import java.util.logging.Level; diff --git a/invui-core/src/main/java/xyz/xenondevs/invui/inventory/ObscuredInventory.java b/invui-core/src/main/java/xyz/xenondevs/invui/inventory/ObscuredInventory.java index 5fbccc8f..320d06a0 100644 --- a/invui-core/src/main/java/xyz/xenondevs/invui/inventory/ObscuredInventory.java +++ b/invui-core/src/main/java/xyz/xenondevs/invui/inventory/ObscuredInventory.java @@ -1,7 +1,6 @@ package xyz.xenondevs.invui.inventory; import org.bukkit.inventory.ItemStack; -import org.bukkit.util.Consumer; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import xyz.xenondevs.invui.inventory.event.ItemPostUpdateEvent; @@ -9,6 +8,7 @@ import xyz.xenondevs.invui.inventory.event.UpdateReason; import java.util.ArrayList; +import java.util.function.Consumer; import java.util.function.IntPredicate; /**