diff --git a/modules/1_10_R1/pom.xml b/modules/1_10_R1/pom.xml index bd5f585..6e69dfe 100644 --- a/modules/1_10_R1/pom.xml +++ b/modules/1_10_R1/pom.xml @@ -13,7 +13,7 @@ xyz.mackan Slabbo-parent - 1.0.22 + 1.0.23 ../../ diff --git a/modules/1_11_R1/pom.xml b/modules/1_11_R1/pom.xml index e24457f..15d2dd8 100644 --- a/modules/1_11_R1/pom.xml +++ b/modules/1_11_R1/pom.xml @@ -13,7 +13,7 @@ xyz.mackan Slabbo-parent - 1.0.22 + 1.0.23 ../../ diff --git a/modules/1_12_R1/pom.xml b/modules/1_12_R1/pom.xml index 400c3d6..431f9ca 100644 --- a/modules/1_12_R1/pom.xml +++ b/modules/1_12_R1/pom.xml @@ -13,7 +13,7 @@ xyz.mackan Slabbo-parent - 1.0.22 + 1.0.23 ../../ diff --git a/modules/1_13_R1/pom.xml b/modules/1_13_R1/pom.xml index c017966..b2a774f 100644 --- a/modules/1_13_R1/pom.xml +++ b/modules/1_13_R1/pom.xml @@ -13,7 +13,7 @@ xyz.mackan Slabbo-parent - 1.0.22 + 1.0.23 ../../ diff --git a/modules/1_13_R2/pom.xml b/modules/1_13_R2/pom.xml index 38703a0..8636f87 100644 --- a/modules/1_13_R2/pom.xml +++ b/modules/1_13_R2/pom.xml @@ -13,7 +13,7 @@ xyz.mackan Slabbo-parent - 1.0.22 + 1.0.23 ../../ diff --git a/modules/1_14_R1/pom.xml b/modules/1_14_R1/pom.xml index a94d748..a009c2f 100644 --- a/modules/1_14_R1/pom.xml +++ b/modules/1_14_R1/pom.xml @@ -13,7 +13,7 @@ xyz.mackan Slabbo-parent - 1.0.22 + 1.0.23 ../../ diff --git a/modules/1_15_R1/pom.xml b/modules/1_15_R1/pom.xml index 5981874..85f6724 100644 --- a/modules/1_15_R1/pom.xml +++ b/modules/1_15_R1/pom.xml @@ -13,7 +13,7 @@ xyz.mackan Slabbo-parent - 1.0.22 + 1.0.23 ../../ diff --git a/modules/1_16_R1/pom.xml b/modules/1_16_R1/pom.xml index 5b2776c..d3127ac 100644 --- a/modules/1_16_R1/pom.xml +++ b/modules/1_16_R1/pom.xml @@ -13,7 +13,7 @@ xyz.mackan Slabbo-parent - 1.0.22 + 1.0.23 ../../ diff --git a/modules/1_16_R2/pom.xml b/modules/1_16_R2/pom.xml index a51a4c7..bde2f7c 100644 --- a/modules/1_16_R2/pom.xml +++ b/modules/1_16_R2/pom.xml @@ -13,7 +13,7 @@ xyz.mackan Slabbo-parent - 1.0.22 + 1.0.23 ../../ diff --git a/modules/1_16_R3/pom.xml b/modules/1_16_R3/pom.xml index fb20f23..c2f16df 100644 --- a/modules/1_16_R3/pom.xml +++ b/modules/1_16_R3/pom.xml @@ -13,7 +13,7 @@ xyz.mackan Slabbo-parent - 1.0.22 + 1.0.23 ../../ diff --git a/modules/1_8_R1/pom.xml b/modules/1_8_R1/pom.xml index 928afea..55c0e6d 100644 --- a/modules/1_8_R1/pom.xml +++ b/modules/1_8_R1/pom.xml @@ -13,7 +13,7 @@ xyz.mackan Slabbo-parent - 1.0.22 + 1.0.23 ../../ diff --git a/modules/1_8_R2/pom.xml b/modules/1_8_R2/pom.xml index 305b64c..f849bce 100644 --- a/modules/1_8_R2/pom.xml +++ b/modules/1_8_R2/pom.xml @@ -13,7 +13,7 @@ xyz.mackan Slabbo-parent - 1.0.22 + 1.0.23 ../../ diff --git a/modules/1_8_R3/pom.xml b/modules/1_8_R3/pom.xml index 124e0c7..c3e28b1 100644 --- a/modules/1_8_R3/pom.xml +++ b/modules/1_8_R3/pom.xml @@ -13,7 +13,7 @@ xyz.mackan Slabbo-parent - 1.0.22 + 1.0.23 ../../ diff --git a/modules/1_9_R1/pom.xml b/modules/1_9_R1/pom.xml index 9fd7e53..1a816d4 100644 --- a/modules/1_9_R1/pom.xml +++ b/modules/1_9_R1/pom.xml @@ -13,7 +13,7 @@ xyz.mackan Slabbo-parent - 1.0.22 + 1.0.23 ../../ diff --git a/modules/1_9_R2/pom.xml b/modules/1_9_R2/pom.xml index 35dfe9c..0128a83 100644 --- a/modules/1_9_R2/pom.xml +++ b/modules/1_9_R2/pom.xml @@ -13,7 +13,7 @@ xyz.mackan Slabbo-parent - 1.0.22 + 1.0.23 ../../ diff --git a/modules/Dist/pom.xml b/modules/Dist/pom.xml index 3b07087..9f9d86a 100644 --- a/modules/Dist/pom.xml +++ b/modules/Dist/pom.xml @@ -12,7 +12,7 @@ xyz.mackan Slabbo-parent - 1.0.22 + 1.0.23 ../../ diff --git a/modules/Plugin/pom.xml b/modules/Plugin/pom.xml index f89672d..a75f2cb 100644 --- a/modules/Plugin/pom.xml +++ b/modules/Plugin/pom.xml @@ -12,7 +12,7 @@ Slabbo-parent xyz.mackan - 1.0.22 + 1.0.23 ../../ diff --git a/modules/Plugin/src/main/java/xyz/mackan/Slabbo/GUI/ShopUserGUI.java b/modules/Plugin/src/main/java/xyz/mackan/Slabbo/GUI/ShopUserGUI.java index 7a2507b..f00f888 100644 --- a/modules/Plugin/src/main/java/xyz/mackan/Slabbo/GUI/ShopUserGUI.java +++ b/modules/Plugin/src/main/java/xyz/mackan/Slabbo/GUI/ShopUserGUI.java @@ -89,7 +89,7 @@ public void handleBuy (HumanEntity humanEntity) { return; } - if (shop.stock < shop.quantity) { + if (shop.stock < shop.quantity && !shop.admin) { humanEntity.sendMessage(ChatColor.RED+LocaleManager.getString("error-message.shop-errors.not-enough-stock")); ((Player) humanEntity).playSound(shop.location, slabboSound.getSoundByKey("BLOCKED"), 1, 1); return; diff --git a/pom.xml b/pom.xml index 86b52f0..c7b45fd 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ xyz.mackan Slabbo-parent - 1.0.22 + 1.0.23 pom Slabbo