MineClone2/mods
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
..
CORE lift clouds to 384 in valleys mapgen 2022-04-19 10:23:10 +00:00
ENTITIES Drop carved pumpkin when shearing snow golem 2022-04-22 18:07:37 +00:00
ENVIRONMENT lift clouds to 384 in valleys mapgen 2022-04-19 10:23:10 +00:00
HELP ITEMS/mcl_anvils: fix renaming items w/o desc… 2022-03-05 15:35:39 +00:00
HUD Add shield 2022-03-15 15:58:27 +01:00
ITEMS Trigger node callbacks when pumpkin is sheared 2022-04-22 18:07:37 +00:00
MAPGEN Use uncarved pumpkin instead of carved in mapgen 2022-04-22 18:07:37 +00:00
MISC Fix typo and interact bug? 2022-03-27 18:08:43 +02:00
PLAYER Merge branch 'master' into shields2 2022-03-28 12:27:57 +00:00