mirror of
https://e.coding.net/circlecloud/QuickShop.git
synced 2024-11-24 02:18:54 +00:00
fix: 修复同一个玩家的商店直接漏洞不能传递的问题
Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
parent
9a5b3cb09f
commit
665d6d77d1
5
pom.xml
5
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.9.0</version>
|
<version>1.9.1</version>
|
||||||
<description>快捷商店重置版本...</description>
|
<description>快捷商店重置版本...</description>
|
||||||
<build>
|
<build>
|
||||||
<finalName>${project.name}</finalName>
|
<finalName>${project.name}</finalName>
|
||||||
@ -60,10 +60,9 @@
|
|||||||
<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>
|
<update.changes>
|
||||||
|
&b1.9.1 - &c修复同一个玩家的商店直接漏洞不能传递的问题...;
|
||||||
&b1.9.0 - &c修复1.9开始以后不允许异步更新木牌的问题...;
|
&b1.9.0 - &c修复1.9开始以后不允许异步更新木牌的问题...;
|
||||||
&b1.8.9 - &c修复虚拟物品产生的异常...;
|
&b1.8.9 - &c修复虚拟物品产生的异常...;
|
||||||
&b1.8.8 - &c修复异步处理购买事件导致的状态错误...;
|
|
||||||
- &c修复配置文件部分字段不存在导致的报错...;
|
|
||||||
</update.changes>
|
</update.changes>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
</properties>
|
</properties>
|
||||||
|
@ -62,7 +62,7 @@ public class ProtectListener implements Listener {
|
|||||||
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)
|
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);
|
e.setCancelled(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user