fixed pom.xml

This commit is contained in:
mfnalex 2022-03-08 15:12:16 +01:00
parent d946595923
commit aaa6b30860
3 changed files with 2 additions and 11 deletions

View File

@ -209,14 +209,8 @@
<dependency>
<groupId>de.jeff_media</groupId>
<artifactId>InvUnload</artifactId>
<version>4.13.4</version>
<version>4.17.1</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>de.jeff_media</groupId>
<artifactId>PluginUpdateChecker</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>

View File

@ -22,11 +22,9 @@ import org.bukkit.event.inventory.InventoryType;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.PlayerInventory;
import org.bukkit.inventory.meta.EnchantmentStorageMeta;
import org.bukkit.inventory.meta.ItemMeta;
import org.bukkit.inventory.meta.PotionMeta;
import org.bukkit.potion.PotionData;
import org.jetbrains.annotations.NotNull;
import java.io.File;
import java.io.FileNotFoundException;
@ -492,7 +490,7 @@ public class ChestSortOrganizer {
}
// Sort an inventory only between startSlot and endSlot
public void sortInventory(@NotNull Inventory inv, int startSlot, int endSlot) {
public void sortInventory(Inventory inv, int startSlot, int endSlot) {
if(inv==null) return;
if(unsortableInventories.contains(inv)) return;
plugin.debug("Attempting to sort an Inventory and calling ChestSortEvent.");

View File

@ -5,7 +5,6 @@ import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.event.inventory.InventoryClickEvent;
import org.jetbrains.annotations.NotNull;
public class Debugger implements Listener {