mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-11 04:03:15 +01:00
pointed_thing warning in mcl_sponges
This commit is contained in:
parent
9a9fab87f7
commit
6127be0f91
@ -58,6 +58,7 @@ minetest.register_node("mcl_sponges:sponge", {
|
|||||||
end
|
end
|
||||||
if on_water then
|
if on_water then
|
||||||
-- Absorb water
|
-- Absorb water
|
||||||
|
-- FIXME: pos is not always the right placement position because of pointed_thing
|
||||||
if absorb(pos) then
|
if absorb(pos) then
|
||||||
minetest.item_place_node(ItemStack("mcl_sponges:sponge_wet"), placer, pointed_thing)
|
minetest.item_place_node(ItemStack("mcl_sponges:sponge_wet"), placer, pointed_thing)
|
||||||
if not minetest.setting_getbool("creative_mode") then
|
if not minetest.setting_getbool("creative_mode") then
|
||||||
|
Loading…
Reference in New Issue
Block a user