修复了下线不自动起身的bug
All checks were successful
Java CI-CD with Maven / build (push) Successful in 8m51s

This commit is contained in:
zhangyuheng 2024-04-17 22:30:42 +08:00
parent e3544bcc17
commit 9a678ea736
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
<groupId>cn.lunadeer</groupId>
<artifactId>EssentialsD</artifactId>
<version>1.15.7</version>
<version>1.15.8</version>
<packaging>jar</packaging>
<name>EssentialsD</name>

View File

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