修复暂停游戏时射爆bug

This commit is contained in:
Atsuihsio 2024-12-20 16:16:00 +08:00
parent 6803841b67
commit 5abcc7175f

View file

@ -553,6 +553,7 @@ public class ClientEventHandler {
if (notInGame()) {
clientTimerVehicle.stop();
holdFire = false;
}
if (player.getVehicle() instanceof IVehicleEntity iVehicle && iVehicle.isDriver(player) && iVehicle.canShoot(player)) {