Fixed Attacks/Punches not Registering (#6481)
Replaced incorrect magic number with constant
This commit is contained in:
parent
0ad574257e
commit
d86f58a0df
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ public interface IForgeKeybinding
|
|||
*/
|
||||
default boolean isActiveAndMatches(InputMappings.Input keyCode)
|
||||
{
|
||||
return keyCode.getKeyCode() != 0 && keyCode.equals(getKey()) && getKeyConflictContext().isActive() && getKeyModifier().isActive(getKeyConflictContext());
|
||||
return keyCode != InputMappings.INPUT_INVALID && keyCode.equals(getKey()) && getKeyConflictContext().isActive() && getKeyModifier().isActive(getKeyConflictContext());
|
||||
}
|
||||
|
||||
default void setToDefault()
|
||||
|
|
Loading…
Reference in a new issue