automatic update

Former-commit-id: ad13b36e9001017e76d7bdfa5888dfe483c3976a
Former-commit-id: d02d742546b71ee1d46d0e50344fb2f1b6d61eea
This commit is contained in:
HybridDog 2014-11-24 19:47:16 +01:00
parent dcaa1f7700
commit 321a94c6a6

View File

@ -28,6 +28,8 @@ if minetest.setting_getbool("creative_mode") then
crumbly={times={[1]=0, [2]=0, [3]=0}, uses=0, maxlevel=3}, crumbly={times={[1]=0, [2]=0, [3]=0}, uses=0, maxlevel=3},
snappy={times={[1]=0, [2]=0, [3]=0}, uses=0, maxlevel=3}, snappy={times={[1]=0, [2]=0, [3]=0}, uses=0, maxlevel=3},
level={times={[1]=0, [2]=0, [3]=0}, uses=0, maxlevel=3}, level={times={[1]=0, [2]=0, [3]=0}, uses=0, maxlevel=3},
nether={times={[1]=0, [2]=0, [3]=0}, uses=0, maxlevel=3},
oddly_breakable_by_hand={times={[1]=0, [2]=0, [3]=0}, uses=0, maxlevel=3},
}, },
damage_groups = {fleshy = 20}, damage_groups = {fleshy = 20},
}, },
@ -36,7 +38,7 @@ if minetest.setting_getbool("creative_mode") then
return return
end end
local pname = placer:get_player_name() local pname = placer:get_player_name()
local pos = minetest.get_pointed_thing_position(pointed_thing, under) local pos = minetest.get_pointed_thing_position(pointed_thing)
local node = minetest.get_node_or_nil(pos) local node = minetest.get_node_or_nil(pos)
if not node then if not node then
minetest.chat_send_player(pname, "?") minetest.chat_send_player(pname, "?")
@ -51,6 +53,7 @@ if minetest.setting_getbool("creative_mode") then
local nam = node.name local nam = node.name
local par1 = node.param1 local par1 = node.param1
local par2 = node.param2 local par2 = node.param2
local a,b
if par1 == 0 if par1 == 0
and par2 == 0 then and par2 == 0 then
a = " " a = " "