修复暂停游戏时射爆bug
This commit is contained in:
parent
6803841b67
commit
5abcc7175f
1 changed files with 1 additions and 0 deletions
|
@ -553,6 +553,7 @@ public class ClientEventHandler {
|
||||||
|
|
||||||
if (notInGame()) {
|
if (notInGame()) {
|
||||||
clientTimerVehicle.stop();
|
clientTimerVehicle.stop();
|
||||||
|
holdFire = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (player.getVehicle() instanceof IVehicleEntity iVehicle && iVehicle.isDriver(player) && iVehicle.canShoot(player)) {
|
if (player.getVehicle() instanceof IVehicleEntity iVehicle && iVehicle.isDriver(player) && iVehicle.canShoot(player)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue