From 9a678ea736790c398521a3b099906e7341d3d525 Mon Sep 17 00:00:00 2001 From: zhangyuheng Date: Wed, 17 Apr 2024 22:30:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=86=E4=B8=8B=E7=BA=BF?= =?UTF-8?q?=E4=B8=8D=E8=87=AA=E5=8A=A8=E8=B5=B7=E8=BA=AB=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- src/main/java/cn/lunadeer/essentialsd/ChairEvent.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 913291f..05f72df 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ cn.lunadeer EssentialsD - 1.15.7 + 1.15.8 jar EssentialsD diff --git a/src/main/java/cn/lunadeer/essentialsd/ChairEvent.java b/src/main/java/cn/lunadeer/essentialsd/ChairEvent.java index 7c88043..46ff77d 100644 --- a/src/main/java/cn/lunadeer/essentialsd/ChairEvent.java +++ b/src/main/java/cn/lunadeer/essentialsd/ChairEvent.java @@ -125,7 +125,7 @@ public class ChairEvent implements Listener { } Entity vehicle = event.getPlayer().getVehicle(); // Let players stand up when leaving the server. - if (vehicle instanceof Item) + if (vehicle instanceof ArmorStand) vehicle.remove(); }