修复音效问题

This commit is contained in:
17146 2025-04-23 01:55:13 +08:00 committed by Light_Quanta
parent 43ddfb5674
commit b252f29a21
No known key found for this signature in database
GPG key ID: 11A39A1B8C890959

View file

@ -223,7 +223,7 @@ public class ClickHandler {
if (key == ModKeyMappings.DISMOUNT.getKey().getValue()) { if (key == ModKeyMappings.DISMOUNT.getKey().getValue()) {
handleDismountPress(player); handleDismountPress(player);
} }
if (key == ModKeyMappings.EDIT_MODE.getKey().getValue() && ClientEventHandler.burstFireAmount == 0) { if (key == ModKeyMappings.EDIT_MODE.getKey().getValue() && ClientEventHandler.burstFireAmount == 0 && stack.getItem() instanceof GunItem) {
ClientEventHandler.holdFire = false; ClientEventHandler.holdFire = false;
if (!isEditing) { if (!isEditing) {