1
0
Fork 0

pointed_thing warning in mcl_sponges

This commit is contained in:
Wuzzy 2017-03-03 00:51:22 +01:00
parent 9a9fab87f7
commit 6127be0f91
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@ minetest.register_node("mcl_sponges:sponge", {
end
if on_water then
-- Absorb water
-- FIXME: pos is not always the right placement position because of pointed_thing
if absorb(pos) then
minetest.item_place_node(ItemStack("mcl_sponges:sponge_wet"), placer, pointed_thing)
if not minetest.setting_getbool("creative_mode") then