Crafting in inventory doesn't work sometimes #82
Labels
No labels
balance
bug
doc
enhancement
infrastructure
lua
status
complete
status
needs design
status
needs fixing
status
needs implementation
status
needs review
status
needs testing
status
new
status
rejected
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
GrapeSodaGames/gsg-luanti#82
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Check craft_table. If necessary we can replace this functionality if we have to.
What seems to be happening is that sometimes, when you try to craft something in your inventory (I'm trying to turn trees into wood) and when the crafting input boxes just reject the item entirely.
Restarting seems to fix it, we'll have to see if this becomes a big issue.
this is a known issue since Dec 2021. Someone even submitted a pull request to fix it in Feb 2024 but it appears that the mod is unsupported. We can make these changes though.
So it happens after you craft at the table once. Let's see if we can fix it easily by overriding core.register_on_player_receive_fields()
Nope there's more. Don't have time to chase this down but we'll see what needs to be done. If necessary we'll fork the original project.
Okay so I made a new repo to fork the mod. I'll remove the current submodule and add that submodule
Alright so I've applied the fix I found in the original and it does fix the problem, but it seems to break the drop_craft() functionality. This is a pretty big problem because you just lose your stuff. We'll have to take a look at this implementation and see why this is happening.
it's the minetest.env part that I took out. If you put it back it works correctly. Not sure why the other fix includes this. But working well now.