From 665d6d77d1a40c7ac6c79140ff67e4ff74737088 Mon Sep 17 00:00:00 2001 From: 502647092 Date: Fri, 10 Jun 2016 12:56:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=90=8C=E4=B8=80?= =?UTF-8?q?=E4=B8=AA=E7=8E=A9=E5=AE=B6=E7=9A=84=E5=95=86=E5=BA=97=E7=9B=B4?= =?UTF-8?q?=E6=8E=A5=E6=BC=8F=E6=B4=9E=E4=B8=8D=E8=83=BD=E4=BC=A0=E9=80=92?= =?UTF-8?q?=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 | 5 ++--- .../org/maxgamer/QuickShop/Listeners/ProtectListener.java | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index a69fe17..c768592 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 org.maxgamer QuickShop - 1.9.0 + 1.9.1 快捷商店重置版本... ${project.name} @@ -60,10 +60,9 @@ DEBUG &a全新版本 &c虚拟悬浮物(橙子提供 对 就是那个汉化COI的逗比)&e7老板修复逗比BUG... + &b1.9.1 - &c修复同一个玩家的商店直接漏洞不能传递的问题...; &b1.9.0 - &c修复1.9开始以后不允许异步更新木牌的问题...; &b1.8.9 - &c修复虚拟物品产生的异常...; - &b1.8.8 - &c修复异步处理购买事件导致的状态错误...; - - &c修复配置文件部分字段不存在导致的报错...; UTF-8 diff --git a/src/main/java/org/maxgamer/QuickShop/Listeners/ProtectListener.java b/src/main/java/org/maxgamer/QuickShop/Listeners/ProtectListener.java index b0288ec..b2495a7 100644 --- a/src/main/java/org/maxgamer/QuickShop/Listeners/ProtectListener.java +++ b/src/main/java/org/maxgamer/QuickShop/Listeners/ProtectListener.java @@ -62,7 +62,7 @@ public class ProtectListener implements Listener { final Shop meshop = getShop(me); final Shop desshop = getShop(des); if ((srcshop != null && meshop == null) || (meshop != null && desshop == null) - || (srcshop != null && desshop != null && srcshop.getOwner() != null && srcshop.getOwner().equalsIgnoreCase(desshop.getOwner()))) { + || (srcshop != null && desshop != null && srcshop.getOwner() != null && !srcshop.getOwner().equalsIgnoreCase(desshop.getOwner()))) { e.setCancelled(true); } }