From 4bb7e632661cb9fcaa3b8a255e3941ccdc903a3f Mon Sep 17 00:00:00 2001 From: 502647092 Date: Tue, 8 Dec 2015 21:57:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=B6=85=E7=BA=A7=E5=B7=A5?= =?UTF-8?q?=E5=85=B7=E4=BF=AE=E6=94=B9=E6=97=A0=E6=B3=95=E4=BF=9D=E5=AD=98?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E7=9A=84=E9=97=AE=E9=A2=98...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 502647092 --- pom.xml | 4 ++-- .../java/org/maxgamer/QuickShop/Listeners/PlayerListener.java | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) 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()) {