diff --git a/build.gradle.kts b/build.gradle.kts index 0043452..99b9ddd 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -12,7 +12,7 @@ plugins { } group = "dev.meyi.bazaarnotifier" -version = "1.7.3" +version = "1.7.4" val mod_id = "bazaarnotifier" java { diff --git a/src/main/java/dev/meyi/bn/BazaarNotifier.java b/src/main/java/dev/meyi/bn/BazaarNotifier.java index 75c7f4c..4447401 100644 --- a/src/main/java/dev/meyi/bn/BazaarNotifier.java +++ b/src/main/java/dev/meyi/bn/BazaarNotifier.java @@ -44,7 +44,7 @@ public class BazaarNotifier { public static final String MODID = "BazaarNotifier"; - public static final String VERSION = "1.7.3"; + public static final String VERSION = "1.7.4"; public static final String prefix = EnumChatFormatting.GOLD + "[" + EnumChatFormatting.YELLOW + "BN" + EnumChatFormatting.GOLD + "] " + EnumChatFormatting.RESET; diff --git a/src/main/java/dev/meyi/bn/handlers/ChestTickHandler.java b/src/main/java/dev/meyi/bn/handlers/ChestTickHandler.java index c3adc5b..8898665 100644 --- a/src/main/java/dev/meyi/bn/handlers/ChestTickHandler.java +++ b/src/main/java/dev/meyi/bn/handlers/ChestTickHandler.java @@ -48,7 +48,8 @@ public static void updateBazaarOrders(IInventory chest) { for (ItemStack item : items) { if (item != null && Item.itemRegistry.getIDForObject(item.getItem()) != 160 // Glass && Item.itemRegistry.getIDForObject(item.getItem()) != 102 // Glass - && Item.itemRegistry.getIDForObject(item.getItem()) != 262) { // Arrow + && Item.itemRegistry.getIDForObject(item.getItem()) != 262 // Arrow + && Item.itemRegistry.getIDForObject(item.getItem()) != 154 ) { //Hopper List lore = Utils.getLoreFromItemStack(item); Pattern p2 = Pattern.compile("(BUY|SELL):? (.*)");