9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-20 15:39:22 +00:00

修复座椅问题

This commit is contained in:
XiaoMoMi
2025-11-01 22:53:30 +08:00
parent 5e9d8f0d4d
commit d8d1635448

View File

@@ -3727,7 +3727,9 @@ public class BukkitNetworkManager implements NetworkManager, Listener, PluginMes
if (!serverPlayer.isSecondaryUseActive()) { if (!serverPlayer.isSecondaryUseActive()) {
for (Seat<HitBox> seat : hitbox.seats()) { for (Seat<HitBox> seat : hitbox.seats()) {
if (!seat.isOccupied()) { if (!seat.isOccupied()) {
seat.spawnSeat(serverPlayer, furniture.position()); if (seat.spawnSeat(serverPlayer, furniture.position())) {
break;
}
} }
} }
} }