mirror of
https://github.com/chylex/Better-Controls.git
synced 2025-05-24 01:34:04 +02:00
Fix not showing key binding conflicts since 1.17
This commit is contained in:
parent
6c2bf71472
commit
4e12f8b43c
@ -70,7 +70,7 @@ public final class KeyBindingWidget extends Button {
|
|||||||
|
|
||||||
if (!binding.isUnbound()) {
|
if (!binding.isUnbound()) {
|
||||||
for (final KeyMapping other : OPTIONS.keyMappings) {
|
for (final KeyMapping other : OPTIONS.keyMappings) {
|
||||||
if (binding != other && binding.equals(other)) {
|
if (binding != other && binding.same(other)) {
|
||||||
hasConflict = true;
|
hasConflict = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user