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(); }