mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-17 03:15:35 -04:00
Fixes DropItemStack keybind
This commit is contained in:
parent
1f4dd9fc92
commit
82b2cabecc
@ -234,17 +234,17 @@ class Camera(
|
||||
}
|
||||
|
||||
// ToDo: This has nothing todo with the camera, should be in the interaction manager
|
||||
renderWindow.inputHandler.registerKeyCallback(DROP_ITEM_KEYBINDING, KeyBinding(
|
||||
mapOf(
|
||||
KeyAction.PRESS to setOf(KeyCodes.KEY_Q),
|
||||
),
|
||||
)) { dropItem(false) }
|
||||
renderWindow.inputHandler.registerKeyCallback(DROP_ITEM_STACK_KEYBINDING, KeyBinding(
|
||||
mapOf(
|
||||
KeyAction.PRESS to setOf(KeyCodes.KEY_Q),
|
||||
KeyAction.MODIFIER to setOf(KeyCodes.KEY_LEFT_CONTROL)
|
||||
),
|
||||
)) { dropItem(true) }
|
||||
renderWindow.inputHandler.registerKeyCallback(DROP_ITEM_KEYBINDING, KeyBinding(
|
||||
mapOf(
|
||||
KeyAction.PRESS to setOf(KeyCodes.KEY_Q),
|
||||
),
|
||||
)) { dropItem(false) }
|
||||
frustum.recalculate()
|
||||
connection.fireEvent(FrustumChangeEvent(renderWindow, frustum))
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user