mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-19 15:09:15 +00:00
修复座椅问题
This commit is contained in:
@@ -3727,7 +3727,9 @@ public class BukkitNetworkManager implements NetworkManager, Listener, PluginMes
|
||||
if (!serverPlayer.isSecondaryUseActive()) {
|
||||
for (Seat<HitBox> seat : hitbox.seats()) {
|
||||
if (!seat.isOccupied()) {
|
||||
seat.spawnSeat(serverPlayer, furniture.position());
|
||||
if (seat.spawnSeat(serverPlayer, furniture.position())) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user