From 2853d059363e5a2b0fd2e82394ee3a624dadf90c Mon Sep 17 00:00:00 2001 From: XPYEX Date: Fri, 10 May 2024 00:17:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9EBetterLoyalty=E6=9B=B4?= =?UTF-8?q?=E5=A5=BD=E7=9A=84=E4=B8=89=E5=8F=89=E6=88=9F=E5=BF=A0=E8=AF=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xpyex/plugin/invactions/bukkit/listener/BetterLoyalty.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/xpyex/plugin/invactions/bukkit/listener/BetterLoyalty.java b/src/main/java/me/xpyex/plugin/invactions/bukkit/listener/BetterLoyalty.java index f29e580..e2420ef 100644 --- a/src/main/java/me/xpyex/plugin/invactions/bukkit/listener/BetterLoyalty.java +++ b/src/main/java/me/xpyex/plugin/invactions/bukkit/listener/BetterLoyalty.java @@ -32,7 +32,7 @@ public void onProjectileLaunch(ProjectileLaunchEvent event) { new BukkitRunnable() { @Override public void run() { - if (!event.getEntity().isValid()) { //三叉戟跑出视距外了,不再处理,也没办法处理 + if (!event.getEntity().isValid()) { //三叉戟跑出视距外了,或已收回到主人手上,不再处理,也没办法处理 cancel(); return; }