diff --git a/pom.xml b/pom.xml index f3c31f2..c84cc08 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ me.sat7 DynamicShop - 3.120.1 + 3.20.2 jar DynamicShop @@ -14,8 +14,8 @@ Full GUI shop with dynamic prices UTF-8 - 1.8 - 1.8 + 21 + 21 @@ -26,21 +26,21 @@ org.apache.maven.plugins maven-surefire-plugin - 2.22.0 + 3.5.2 org.apache.maven.plugins maven-compiler-plugin - 3.7.0 + 3.13.0 - 1.8 - 1.8 + 21 + 21 org.apache.maven.plugins maven-shade-plugin - 3.2.4 + 3.6.0 true @@ -110,7 +110,7 @@ org.spigotmc spigot-api - 1.20.2-R0.1-SNAPSHOT + 1.21.3-R0.1-SNAPSHOT provided @@ -128,23 +128,23 @@ com.opencsv opencsv - 5.2 + 5.9 commons-io commons-io - 2.11.0 + 2.18.0 me.clip placeholderapi - 2.11.5 + 2.11.6 provided com.github.Zrips Jobs - v4.17.2 + v5.2.2.3 provided @@ -159,15 +159,16 @@ 4.13.2 test + com.github.PikaMug LocaleLib - 3.9 + 4.1.0 org.black_ixx playerpoints - 3.2.5 + 3.2.7 provided diff --git a/src/main/java/me/sat7/dynamicshop/guis/LogViewer.java b/src/main/java/me/sat7/dynamicshop/guis/LogViewer.java index 8b2aea3..b741864 100644 --- a/src/main/java/me/sat7/dynamicshop/guis/LogViewer.java +++ b/src/main/java/me/sat7/dynamicshop/guis/LogViewer.java @@ -191,7 +191,7 @@ private void ShowLogData(int page) ItemMeta im = is.getItemMeta(); im.addItemFlags(ItemFlag.HIDE_ATTRIBUTES); im.addItemFlags(ItemFlag.HIDE_ENCHANTS); - im.addItemFlags(ItemFlag.HIDE_POTION_EFFECTS); + im.addItemFlags(ItemFlag.HIDE_ADDITIONAL_TOOLTIP); im.addItemFlags(ItemFlag.HIDE_DYE); is.setItemMeta(im); } else @@ -204,7 +204,7 @@ private void ShowLogData(int page) ItemMeta im = is.getItemMeta(); im.addItemFlags(ItemFlag.HIDE_ATTRIBUTES); im.addItemFlags(ItemFlag.HIDE_ENCHANTS); - im.addItemFlags(ItemFlag.HIDE_POTION_EFFECTS); + im.addItemFlags(ItemFlag.HIDE_ADDITIONAL_TOOLTIP); im.addItemFlags(ItemFlag.HIDE_DYE); is.setItemMeta(im); diff --git a/src/main/java/me/sat7/dynamicshop/guis/PageEditor.java b/src/main/java/me/sat7/dynamicshop/guis/PageEditor.java index 146ebb9..31010f7 100644 --- a/src/main/java/me/sat7/dynamicshop/guis/PageEditor.java +++ b/src/main/java/me/sat7/dynamicshop/guis/PageEditor.java @@ -75,7 +75,7 @@ public Inventory getGui(Player player, String shopName, int page) meta.setLore(loreList); meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES); - meta.addItemFlags(ItemFlag.HIDE_POTION_EFFECTS); + meta.addItemFlags(ItemFlag.HIDE_ADDITIONAL_TOOLTIP); meta.addItemFlags(ItemFlag.HIDE_DYE); meta.addItemFlags(ItemFlag.HIDE_ENCHANTS); diff --git a/src/main/java/me/sat7/dynamicshop/guis/Shop.java b/src/main/java/me/sat7/dynamicshop/guis/Shop.java index adaf8b0..113ebfe 100644 --- a/src/main/java/me/sat7/dynamicshop/guis/Shop.java +++ b/src/main/java/me/sat7/dynamicshop/guis/Shop.java @@ -357,7 +357,7 @@ else if (ShopUtil.GetCurrency(shopData).equalsIgnoreCase(Constants.S_EXP)) meta.setDisplayName(" "); meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES); meta.addItemFlags(ItemFlag.HIDE_ENCHANTS); - meta.addItemFlags(ItemFlag.HIDE_POTION_EFFECTS); + meta.addItemFlags(ItemFlag.HIDE_ADDITIONAL_TOOLTIP); } meta.setLore(new ArrayList<>(Arrays.asList(lore.split("\n")))); diff --git a/src/main/java/me/sat7/dynamicshop/guis/StartPage.java b/src/main/java/me/sat7/dynamicshop/guis/StartPage.java index 81e0221..1b868c6 100644 --- a/src/main/java/me/sat7/dynamicshop/guis/StartPage.java +++ b/src/main/java/me/sat7/dynamicshop/guis/StartPage.java @@ -112,7 +112,7 @@ public Inventory getGui(Player player) meta.setDisplayName(name); meta.setLore(tempList); meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES); - meta.addItemFlags(ItemFlag.HIDE_POTION_EFFECTS); + meta.addItemFlags(ItemFlag.HIDE_ADDITIONAL_TOOLTIP); btn.setItemMeta(meta); inventory.setItem(idx, btn);