diff --git a/AuxProtect.iml b/AuxProtect.iml index f94cbbb..d378a6e 100644 --- a/AuxProtect.iml +++ b/AuxProtect.iml @@ -43,9 +43,17 @@ - + + + + + + + + + diff --git a/pom.xml b/pom.xml index 202adc4..cd04101 100644 --- a/pom.xml +++ b/pom.xml @@ -186,8 +186,8 @@ com.github.7sat - SSDynamicShop - f99e33d4e4 + DynamicShop3 + 3.12.1 provided diff --git a/src/dev/heliosares/auxprotect/spigot/listeners/DynamicShopListener.java b/src/dev/heliosares/auxprotect/spigot/listeners/DynamicShopListener.java index becee19..c2303df 100644 --- a/src/dev/heliosares/auxprotect/spigot/listeners/DynamicShopListener.java +++ b/src/dev/heliosares/auxprotect/spigot/listeners/DynamicShopListener.java @@ -20,7 +20,7 @@ public class DynamicShopListener implements Listener { public void onShopBuySellEvent(ShopBuySellEvent e) { ItemStack item = e.getItemStack(); boolean buy = e.isBuy(); - double price = 0; + double price; if (buy) { price = e.getNewBuyPrice(); } else {