fix core.switch_to_item to autoswap to hotbar #28
No reviewers
Labels
No Label
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: minetest-stuffs/dragonfire-client-dragonfire#28
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "master"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
This fixes core.switch_to_item() for 5.4 (placing from outside hotbar not allowed).
It tries to find an empty slot in hotbar and falls back to hardcoded hotbar slot 8 for now (get_hotbar_size isnt there yet after all ;) )
its become evident this is not wanted.
Pull request closed