...rver/luanti/worlds/world/worldmods/bakedclay/flowers.lua:33: attempt to index upvalue 'flowerpot' (a boolean value)
stack traceback:
[C]: in function '__index'
...rver/luanti/worlds/world/worldmods/bakedclay/flowers.lua:33: in function 'add_flower'
...rver/luanti/worlds/world/worldmods/bakedclay/flowers.lua:39: in main chunk
[C]: in function 'dofile'
...tserver/luanti/worlds/world/worldmods/bakedclay/init.lua:238: in main chunk
I assume the source is the local flowerpot you have in the beginning of flower.lua locally overriding the function, since swapping the name fixes it.
I assume the source is the local flowerpot you have in the beginning of flower.lua locally overriding the function, since swapping the name fixes it.
Fixed the naming typo, thanks for noticing :P