Cauldrons now only accept fire as heat source
This commit is contained in:
parent
52cb5b5afc
commit
219c6481bd
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user