Cauldrons now only accept fire as heat source

This commit is contained in:
Wuzzy 2023-07-01 18:42:04 +02:00
parent 52cb5b5afc
commit 219c6481bd
2 changed files with 2 additions and 4 deletions

View File

@ -61,6 +61,7 @@ The following bugs of X-Decor (as of 01/07/2023) are fixed:
* Fix boiling water in cauldrons not reliably cooling down
* Fix boiling water sound not playing when rejoining
* Fix cauldron with soup boiling forever
* Fix cauldrons being heated up by fireflies
* Fix rope and painting not compatible with itemframe
* Fix itemframe, lever being offset when put into itemframe
* Fix storage formspecs not closing if exploded

View File

@ -27,10 +27,7 @@ local function is_heated(pos)
local below_node = {x = pos.x, y = pos.y - 1, z = pos.z}
local nn = minetest.get_node(below_node).name
-- Check fire group
if minetest.get_item_group(nn, "fire") == 1 then
return true
-- Hacky: If the string "fire" is in the node name
elseif nn:find("fire") then
if minetest.get_item_group(nn, "fire") ~= 0 then
return true
else
return false