diff --git a/pom.xml b/pom.xml index 7e65ac7..2aa514c 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 org.maxgamer QuickShop - 1.6.4 + 1.6.5 快捷商店重置版本... ${project.name} @@ -54,7 +54,7 @@ http://ci.citycraft.cn:8080 - &b补全丢失的词条 &a修改金额格式化方式... + &c修复超级工具修改无法保存数据的问题... UTF-8 diff --git a/src/main/java/org/maxgamer/QuickShop/Listeners/PlayerListener.java b/src/main/java/org/maxgamer/QuickShop/Listeners/PlayerListener.java index 9aa8296..d3639d7 100644 --- a/src/main/java/org/maxgamer/QuickShop/Listeners/PlayerListener.java +++ b/src/main/java/org/maxgamer/QuickShop/Listeners/PlayerListener.java @@ -172,19 +172,16 @@ public class PlayerListener implements Listener { shop.setUnlimited(!shop.isUnlimited()); shopmode = shop.isUnlimited() ? "§e无限模式" : "§c有限模式"; p.sendMessage(MsgUtil.p("command.toggle-unlimited", shopmode)); - return; } } else { if (shop.getShopType() == ShopType.BUYING && p.hasPermission("quickshop.create.sell") && (shop.getOwner().equalsIgnoreCase(p.getName()) || p.isOp())) { shop.setShopType(ShopType.SELLING); p.sendMessage(MsgUtil.p("command.now-selling", shop.getDataName())); shopmode = "出售模式"; - return; } else if (shop.getShopType() == ShopType.SELLING && p.hasPermission("quickshop.create.buy") && (shop.getOwner().equalsIgnoreCase(p.getName()) || p.isOp())) { shop.setShopType(ShopType.BUYING); p.sendMessage(MsgUtil.p("command.now-buying", shop.getDataName())); shopmode = "收购模式"; - return; } } if (!shopmode.isEmpty()) {