mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 18:41:09 +01:00
67ae203772
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. |
||
---|---|---|
.. | ||
CORE | ||
ENTITIES | ||
ENVIRONMENT | ||
HELP | ||
HUD | ||
ITEMS | ||
MAPGEN | ||
MISC | ||
PLAYER |