Skip to content
This repository was archived by the owner on Dec 5, 2021. It is now read-only.

Commit e0aa49e

Browse files
committed
3.1.4.22 - Fix bug under spigot
Former-commit-id: c113f45
1 parent 6e5db59 commit e0aa49e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>org.maxgamer</groupId>
66
<artifactId>QuickShop</artifactId>
7-
<version>3.1.4.21</version>
7+
<version>3.1.4.22</version>
88

99
<licenses>
1010
<license>

src/main/java/org/maxgamer/quickshop/Util/MsgUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -830,7 +830,7 @@ public static void sendSellSuccess(@NotNull Player p, @NotNull Shop shop, int am
830830
}
831831

832832
private static void printEnchantment(@NotNull Player p, @NotNull Shop shop, ChatSheetPrinter chatSheetPrinter) {
833-
if(shop.getItem().hasItemFlag(ItemFlag.HIDE_ENCHANTS)&&plugin.getConfig().getBoolean("respect-item-flag")){
833+
if (shop.getItem().getItemMeta().hasItemFlag(ItemFlag.HIDE_ENCHANTS) && plugin.getConfig().getBoolean("respect-item-flag")) {
834834
return;
835835
}
836836
Map<Enchantment, Integer> enchs = new HashMap<>();

0 commit comments

Comments
 (0)