mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-20 07:29:17 +00:00
修复座椅问题
This commit is contained in:
@@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user