mirror of
https://github.com/JEFF-Media-GbR/ChestSort.git
synced 2024-12-04 00:23:23 +01:00
fixed pom.xml
This commit is contained in:
parent
d946595923
commit
aaa6b30860
8
pom.xml
8
pom.xml
@ -209,14 +209,8 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>de.jeff_media</groupId>
|
<groupId>de.jeff_media</groupId>
|
||||||
<artifactId>InvUnload</artifactId>
|
<artifactId>InvUnload</artifactId>
|
||||||
<version>4.13.4</version>
|
<version>4.17.1</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
<exclusions>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>de.jeff_media</groupId>
|
|
||||||
<artifactId>PluginUpdateChecker</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
</exclusions>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -22,11 +22,9 @@ import org.bukkit.event.inventory.InventoryType;
|
|||||||
import org.bukkit.inventory.Inventory;
|
import org.bukkit.inventory.Inventory;
|
||||||
import org.bukkit.inventory.ItemStack;
|
import org.bukkit.inventory.ItemStack;
|
||||||
import org.bukkit.inventory.PlayerInventory;
|
import org.bukkit.inventory.PlayerInventory;
|
||||||
import org.bukkit.inventory.meta.EnchantmentStorageMeta;
|
|
||||||
import org.bukkit.inventory.meta.ItemMeta;
|
import org.bukkit.inventory.meta.ItemMeta;
|
||||||
import org.bukkit.inventory.meta.PotionMeta;
|
import org.bukkit.inventory.meta.PotionMeta;
|
||||||
import org.bukkit.potion.PotionData;
|
import org.bukkit.potion.PotionData;
|
||||||
import org.jetbrains.annotations.NotNull;
|
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.FileNotFoundException;
|
import java.io.FileNotFoundException;
|
||||||
@ -492,7 +490,7 @@ public class ChestSortOrganizer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Sort an inventory only between startSlot and endSlot
|
// 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(inv==null) return;
|
||||||
if(unsortableInventories.contains(inv)) return;
|
if(unsortableInventories.contains(inv)) return;
|
||||||
plugin.debug("Attempting to sort an Inventory and calling ChestSortEvent.");
|
plugin.debug("Attempting to sort an Inventory and calling ChestSortEvent.");
|
||||||
|
@ -5,7 +5,6 @@ import org.bukkit.event.EventHandler;
|
|||||||
import org.bukkit.event.EventPriority;
|
import org.bukkit.event.EventPriority;
|
||||||
import org.bukkit.event.Listener;
|
import org.bukkit.event.Listener;
|
||||||
import org.bukkit.event.inventory.InventoryClickEvent;
|
import org.bukkit.event.inventory.InventoryClickEvent;
|
||||||
import org.jetbrains.annotations.NotNull;
|
|
||||||
|
|
||||||
public class Debugger implements Listener {
|
public class Debugger implements Listener {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user