MineClone2/mods/ITEMS/mcl_tools
Nils Dagsson Moskopp 67ae203772 Trigger node callbacks when pumpkin is sheared
The code for shearing a pumpkin used minetest.swap_node() to replace a
faceless pumpkin with a carved pumpkin. This did not trigger the node
callbacks of the carved pumpkin, which meant that shearing a pumpkin
would not check for the snow golem or iron golem spawn conditions.

This patch replaces minetest.swap_node() in the code for shearing a
pumpkin with minetest.set_node(), which does trigger the callbacks;
therefore snow and iron golems can now spawn as a pumpkin is carved.
2022-04-22 18:07:37 +00:00
..
locale mcl_tools 2022-02-23 23:58:05 +01:00
sounds
textures
aliases.lua
crafting.lua fix many codestyle issues (functions, strings, modpaths) 2021-05-29 16:12:33 +02:00
init.lua Trigger node callbacks when pumpkin is sheared 2022-04-22 18:07:37 +00:00
mod.conf
README.md

This mod adds tools for MineClone 2.

Credits

Other files: See main MineClone 2 README.