Cuberite Forum

Full Version: Is anyone else getting an E_ITEMS_PAINTINGS undeclared message?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So, I updated today before beginning work. I made some edits and went to compile, then I got the following error:

"E_ITEMS_PAINTINGS undeclared"
The source of this issue is
tolua_constant(tolua_S,"E_ITEM_PAINTINGS",E_ITEM_PAINTINGS);

I figured I'd ask if anyone else got this error before starting an issue.
Yea I think you're right, because it's called "E_ITEM_PAINTING" in "BlockID.h"
Regenerate your Lua bindings, I guess? I changed that value in the paintings PR - 'paintings' sounded strangeTongue

There is a AllToLua.bat / .sh file in src/Bindings; run that.
Okay, that fixed it.