From aaa6b3086056e2e1e154bb22e8a0befe8a1c9f35 Mon Sep 17 00:00:00 2001
From: mfnalex <1122571+mfnalex@users.noreply.github.com>
Date: Tue, 8 Mar 2022 15:12:16 +0100
Subject: [PATCH] fixed pom.xml
---
pom.xml | 8 +-------
.../jeff_media/chestsort/handlers/ChestSortOrganizer.java | 4 +---
.../java/de/jeff_media/chestsort/handlers/Debugger.java | 1 -
3 files changed, 2 insertions(+), 11 deletions(-)
diff --git a/pom.xml b/pom.xml
index 758cd3f..d9b297b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -209,14 +209,8 @@
de.jeff_media
InvUnload
- 4.13.4
+ 4.17.1
provided
-
-
- de.jeff_media
- PluginUpdateChecker
-
-
diff --git a/src/main/java/de/jeff_media/chestsort/handlers/ChestSortOrganizer.java b/src/main/java/de/jeff_media/chestsort/handlers/ChestSortOrganizer.java
index 827b177..56d5c81 100644
--- a/src/main/java/de/jeff_media/chestsort/handlers/ChestSortOrganizer.java
+++ b/src/main/java/de/jeff_media/chestsort/handlers/ChestSortOrganizer.java
@@ -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.");
diff --git a/src/main/java/de/jeff_media/chestsort/handlers/Debugger.java b/src/main/java/de/jeff_media/chestsort/handlers/Debugger.java
index 190f453..6144af5 100644
--- a/src/main/java/de/jeff_media/chestsort/handlers/Debugger.java
+++ b/src/main/java/de/jeff_media/chestsort/handlers/Debugger.java
@@ -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 {