This commit is contained in:
parent
e3544bcc17
commit
9a678ea736
2
pom.xml
2
pom.xml
@ -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>
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user