mirror of
https://e.coding.net/circlecloud/QuickShop.git
synced 2024-11-22 01:58:54 +00:00
修复一个NPE错误...
Signed-off-by: 502647092 <jtb1@163.com>
This commit is contained in:
parent
82f6c99c01
commit
4ab5a1aa67
8
pom.xml
8
pom.xml
@ -3,7 +3,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>org.maxgamer</groupId>
|
<groupId>org.maxgamer</groupId>
|
||||||
<artifactId>QuickShop</artifactId>
|
<artifactId>QuickShop</artifactId>
|
||||||
<version>1.8.2</version>
|
<version>1.8.3</version>
|
||||||
<description>快捷商店重置版本...</description>
|
<description>快捷商店重置版本...</description>
|
||||||
<build>
|
<build>
|
||||||
<finalName>${project.name}</finalName>
|
<finalName>${project.name}</finalName>
|
||||||
@ -56,7 +56,11 @@
|
|||||||
<jenkins.url>http://ci.citycraft.cn:8080</jenkins.url>
|
<jenkins.url>http://ci.citycraft.cn:8080</jenkins.url>
|
||||||
<env.GIT_COMMIT>DEBUG</env.GIT_COMMIT>
|
<env.GIT_COMMIT>DEBUG</env.GIT_COMMIT>
|
||||||
<update.description>&a全新版本 &c虚拟悬浮物(橙子提供 对 就是那个汉化COI的逗比) &e7老板修复逗比BUG...</update.description>
|
<update.description>&a全新版本 &c虚拟悬浮物(橙子提供 对 就是那个汉化COI的逗比) &e7老板修复逗比BUG...</update.description>
|
||||||
<update.changes>&c修复PlayerInteractEvent错误参数导致GuiShopManager的报错...;&c修复箱子的标题为Null是产生的报错...</update.changes>
|
<update.changes>
|
||||||
|
&b1.8.3 - &c修复漏斗传输NPE错误...;
|
||||||
|
&b1.8.2 - &c修复箱子的标题为Null是产生的报错...;
|
||||||
|
&b1.8.1 - &c修复PlayerInteractEvent错误参数导致GuiShopManager的报错...;
|
||||||
|
</update.changes>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
</properties>
|
</properties>
|
||||||
<repositories>
|
<repositories>
|
||||||
|
@ -61,7 +61,8 @@ public class ProtectListener implements Listener {
|
|||||||
final Shop srcshop = getShop(src);
|
final Shop srcshop = getShop(src);
|
||||||
final Shop meshop = getShop(me);
|
final Shop meshop = getShop(me);
|
||||||
final Shop desshop = getShop(des);
|
final Shop desshop = getShop(des);
|
||||||
if ((srcshop != null && meshop == null) || (meshop != null && desshop == null) || (srcshop != null && desshop != null && srcshop.getOwner().equalsIgnoreCase(desshop.getOwner()))) {
|
if ((srcshop != null && meshop == null) || (meshop != null && desshop == null)
|
||||||
|
|| (srcshop != null && desshop != null && srcshop.getOwner() != null && srcshop.getOwner().equalsIgnoreCase(desshop.getOwner()))) {
|
||||||
e.setCancelled(true);
|
e.setCancelled(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user