fixed error on old versions

This commit is contained in:
NEZNAMY committed 2020-08-30 15:04:04 +02:00
1 parent 10eef9f2d1
commit fe32af3635
1 file changed
+1 -1
@@ -192,7 +192,7 @@ public class ArmorStand {
if (vehicle.getType() == EntityType.HORSE) {
return player.getVehicle().getLocation().getY() + 0.85;
}
if (vehicle.getType() == EntityType.DONKEY) {
if (vehicle.getType().toString().equals("DONKEY")) {
return player.getVehicle().getLocation().getY() + 0.525;
}
if (vehicle.getType() == EntityType.PIG) {