Open nonfreegithub opened 1 year ago
just encountered this too trying draconis in mineclonia it's the same bug as https://github.com/ElCeejo/creatura/issues/17 - you need to call is_creative_enabled with the player's name not the object:
$ grep -nr is_creative_enabled draconis
draconis/craftitems.lua:111: if not minetest.is_creative_enabled(clicker) then
draconis/api/behaviors.lua:142: local is_creative = target:is_player() and minetest.is_creative_enabled(target)
draconis/api/api.lua:1337: if not minetest.is_creative_enabled(player) then
draconis/api/api.lua:1517: if not minetest.is_creative_enabled(player) then
Minetest version:
5.7.0
MineClone version:
Cloned from git master branch commit b4c693bb205777b39446fe631ac02823656cc26d
Creatura version:
main branch commit 97375e088887e1fce8e30c34a1c2ed56f1cbce51
Draconis version:
main branch commit 744cab73d95631ad3ca36981ef4100bcb408cf81