From 93c79544ca91f1c04d00fa5ec492c25d66e8f747 Mon Sep 17 00:00:00 2001 From: BenceX100 Date: Fri, 13 Sep 2024 16:26:55 +0200 Subject: [PATCH] 1.6.7 --- pom.xml | 4 ++-- .../axsellwands/listeners/SellwandUseListener.java | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index f7d5b51..b883390 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.artillexstudios AxSellwands - 1.6.6 + 1.6.7 jar AxSellwands @@ -225,7 +225,7 @@ com.github.Gypopo EconomyShopGUI-API - 1.6.0 + 1.7.1 provided diff --git a/src/main/java/com/artillexstudios/axsellwands/listeners/SellwandUseListener.java b/src/main/java/com/artillexstudios/axsellwands/listeners/SellwandUseListener.java index 9167e6c..09e7d3f 100644 --- a/src/main/java/com/artillexstudios/axsellwands/listeners/SellwandUseListener.java +++ b/src/main/java/com/artillexstudios/axsellwands/listeners/SellwandUseListener.java @@ -182,6 +182,8 @@ else if (block.getType() == Material.ENDER_CHEST) NBTUtils.writeToNBT(event.getItem(), "axsellwands-type", type); NBTUtils.writeToNBT(event.getItem(), "axsellwands-multiplier", multiplier); NBTUtils.writeToNBT(event.getItem(), "axsellwands-max-uses", maxUses); + + if (block.getState() instanceof Container container) container.update(); } else { for (ItemStack it : contents) { if (it == null) continue;