mirror of
https://github.com/GTNewHorizons/GTNHLib.git
synced 2026-11-28 07:35:51 +00:00
Expose SyncedKeybind keyCode (#155)
This commit is contained in:
1 parent
46e4202479
commit
3f218a0bbe
1 file changed
+5
@@ -265,4 +265,9 @@ public final class SyncedKeybind {
|
||||
listener.onKeyPressed(player, this);
|
||||
}
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public int getKeyCode() {
|
||||
return keybinding != null ? keybinding.getKeyCode() : keyCode;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user