9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-26 02:19:23 +00:00

fix(bukkit): 修复玩家载具坐骑问题

This commit is contained in:
jhqwqmc
2025-04-01 04:46:29 +08:00
parent 2d5005357a
commit 1c96a38e71

View File

@@ -373,6 +373,7 @@ public class BukkitFurnitureManager implements FurnitureManager {
Vector3f seatPos = MiscUtils.getVector3f(vector3f);
furniture.removeOccupiedSeat(seatPos);
if (player.getVehicle() != null) return;
Location vehicleLocation = vehicle.getLocation();
Location originalLocation = vehicleLocation.clone();
originalLocation.setY(furniture.location().getY());