Skip to content

Commit

Permalink
Fix Inventory using org.bukkit.util.Consumer instead of java.util.fun…
Browse files Browse the repository at this point in the history
…ction.Consumer
  • Loading branch information
NichtStudioCode committed Aug 22, 2024
1 parent c987eb0 commit 9605d1f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
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;
import xyz.xenondevs.invui.inventory.event.ItemPreUpdateEvent;
import xyz.xenondevs.invui.inventory.event.UpdateReason;

import java.util.ArrayList;
import java.util.function.Consumer;
import java.util.function.IntPredicate;

/**
Expand Down

0 comments on commit 9605d1f

Please sign in to comment.