修复不能退出改装状态的问题
This commit is contained in:
parent
47ea1b967a
commit
17ca208db6
1 changed files with 6 additions and 2 deletions
|
@ -225,9 +225,13 @@ public class ClickHandler {
|
|||
}
|
||||
if (key == ModKeyMappings.EDIT_MODE.getKey().getValue() && ClientEventHandler.burstFireAmount == 0) {
|
||||
ClientEventHandler.holdFire = false;
|
||||
isEditing = true;
|
||||
|
||||
if (!isEditing) {
|
||||
player.playSound(ModSounds.EDIT_MODE.get(), 1, 1);
|
||||
}
|
||||
// TODO 退出时的动画渐变
|
||||
isEditing = !isEditing;
|
||||
}
|
||||
|
||||
if (key == ModKeyMappings.BREATH.getKey().getValue() && !exhaustion && zoom) {
|
||||
breath = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue