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;