修复音效问题#2
This commit is contained in:
parent
b252f29a21
commit
6285838dd7
2 changed files with 3 additions and 2 deletions
|
@ -16,7 +16,7 @@ mod_id=superbwarfare
|
||||||
mod_name=Superb Warfare
|
mod_name=Superb Warfare
|
||||||
mod_license=GNU General Public License v3.0
|
mod_license=GNU General Public License v3.0
|
||||||
mod_description=A Warfare Mod
|
mod_description=A Warfare Mod
|
||||||
mod_version=0.7.3
|
mod_version=0.7.4
|
||||||
mod_authors=Atsuishio, Roki27, Light_Quanta
|
mod_authors=Atsuishio, Roki27, Light_Quanta
|
||||||
# dependencies
|
# dependencies
|
||||||
jei_version=19.21.0.247
|
jei_version=19.21.0.247
|
||||||
|
|
|
@ -223,7 +223,8 @@ 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 && stack.getItem() instanceof GunItem) {
|
if (key == ModKeyMappings.EDIT_MODE.getKey().getValue() && ClientEventHandler.burstFireAmount == 0
|
||||||
|
&& stack.getItem() instanceof GunItem gunItem && gunItem.isCustomizable(stack)) {
|
||||||
ClientEventHandler.holdFire = false;
|
ClientEventHandler.holdFire = false;
|
||||||
|
|
||||||
if (!isEditing) {
|
if (!isEditing) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue