Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: 别人领地内可以使用命令直接上锁 #11

Closed
ghost opened this issue Aug 2, 2019 · 8 comments
Closed

BUG: 别人领地内可以使用命令直接上锁 #11

ghost opened this issue Aug 2, 2019 · 8 comments

Comments

@ghost
Copy link

ghost commented Aug 2, 2019

领地插件 GriefPrevention
重现方式:
先设置一个GP领地
然后放置一个箱子及空白告示牌像这样
image
其他没有权限的玩家可以先选择告示牌并执行命令 /lock 或 /lock 2 可以直接将箱子上锁

希望可以修復 我很喜欢这插件

@Himmelt
Copy link
Owner

Himmelt commented Aug 7, 2019

最近有点忙,过几天有时间会修复的。

Himmelt added a commit that referenced this issue Aug 9, 2019
@Himmelt
Copy link
Owner

Himmelt commented Aug 12, 2019

@GranTesoro86 我没有时间测试,GriefPrevention 我也没用过,不熟悉。你可以下载附件里的插件测试一下,有问题可以反馈。
Locket-1.1.9-SNAPSHOT.zip
SpongeViolet-2.4.1-SNAPSHOT-shadow.zip

@Himmelt
Copy link
Owner

Himmelt commented Aug 13, 2019

按照描述,应该是 Interact (lock)事件监听太早,可以尝试降低交互事件监听的优先级。

@ghost
Copy link
Author

ghost commented Aug 13, 2019

太好了解决了这个bug!! 有问题我再回报 感谢大大 !!

@ghost
Copy link
Author

ghost commented Aug 15, 2019

这次出现这个BUG,玩家没办法执行/lock 2 和/lock 3 这个指令,会出现这样的讯息
image

@Himmelt
Copy link
Owner

Himmelt commented Aug 15, 2019

@GranTesoro86 @LunarstarPony 试试 这个 版本, Violet 也要更新。

@LunarstarPony
Copy link

哇哦 还行

@Himmelt
Copy link
Owner

Himmelt commented Aug 20, 2019

更新:violet_locket_latest.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants