mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add on_secondary_use when right clicking an item in the air
This commit is contained in:
parent
57b429574e
commit
97908cc656
8 changed files with 71 additions and 0 deletions
|
@ -946,6 +946,7 @@ void Client::interact(u8 action, const PointedThing& pointed)
|
|||
2: digging completed
|
||||
3: place block or item (to abovesurface)
|
||||
4: use item
|
||||
5: perform secondary action of item
|
||||
*/
|
||||
|
||||
NetworkPacket pkt(TOSERVER_INTERACT, 1 + 2 + 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue