From 05ee5bdc83df9d5e5f98daf938ebd8a39eb8bd5c Mon Sep 17 00:00:00 2001 From: Ginger88895 Date: Wed, 13 Aug 2014 13:26:55 +0000 Subject: [PATCH] Fixed infini-block --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 9e16aad..1c06430 100644 --- a/init.lua +++ b/init.lua @@ -244,8 +244,8 @@ function minetest.node_dig(pos, oldnode, digger) end local place_node = minetest.item_place_node function minetest.item_place_node(itemstack, placer, pointed_thing) - place_node(itemstack, placer, pointed_thing) specialties.changeXP(placer:get_player_name(), "builder", 1) + return place_node(itemstack, placer, pointed_thing) end minetest.register_globalstep(function(dtime) if time+dtime < 10 then @@ -256,4 +256,4 @@ minetest.register_globalstep(function(dtime) specialties.writeXP(player) end end -end) \ No newline at end of file +end)