-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undeclared global variable "composter_on_metadata_inventory_move" generates WARNING #17
Comments
@lnjX Could you look into this please? |
There is also the same thing with the following line. |
Am seeing this as well. It looks like there's a missing function, I was able to find the use of the same assignment ( WARNING: am reasonably certain there's more this function was intended to do...the compost bin probably isn't going to work correctly.
Sharing my progress so others can test it too, and I'll add a proper pull request once I finish tinkering. Analysis of the rest of the mod would be necessary to determine if moving things inside the compost bin inventory should do anything, and really the only person who can answer this is the original author of this file, if the answer exists at all. |
Error is due to gardens attempting to use the existing gardens object. Error can be safely ignored.
@npalix the See this commit for the bits I've added to contextualize it. |
https://github.com/JBBgameich/agriculture/blob/96d48538ea95dce131556f792368b543f4f6dc4c/compost/init.lua#L300
WARNING[Main]: Undeclared global variable "composter_on_metadata_inventory_move" accessed at [...]/mods/agriculture/compost/init.lua:300
The text was updated successfully, but these errors were encountered: