forked from VoxeLibre/VoxeLibre
fix many warnings
This commit is contained in:
parent
fb60bd0253
commit
84a800f22b
|
@ -1,4 +1,4 @@
|
|||
local S = minetest.get_translator("mcl_hunger")
|
||||
--local S = minetest.get_translator("mcl_hunger")
|
||||
|
||||
-- wrapper for minetest.item_eat (this way we make sure other mods can't break this one)
|
||||
minetest.do_item_eat = function(hp_change, replace_with_item, itemstack, user, pointed_thing)
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
local S = minetest.get_translator("mcl_playerplus")
|
||||
|
||||
mcl_playerplus = {
|
||||
elytra = {},
|
||||
}
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
# textdomain: mcl_playerplus
|
||||
@1 suffocated to death.=@1 erstickte zu Tode.
|
||||
@1 was prickled to death by a cactus.=@1 wurde von einem Kaktus zu Tode gepiekst.
|
|
@ -1,3 +0,0 @@
|
|||
# textdomain: mcl_playerplus
|
||||
@1 suffocated to death.=@1 ahogado hasta la muerte.
|
||||
@1 was prickled to death by a cactus.=@1 fue herido de muerte por un cactus.
|
|
@ -1,3 +0,0 @@
|
|||
# textdomain: mcl_playerplus
|
||||
@1 suffocated to death.=@1 étouffé à mort.
|
||||
@1 was prickled to death by a cactus.=@1 a été piqué à mort par un cactus.
|
|
@ -1,3 +0,0 @@
|
|||
# textdomain: mcl_playerplus
|
||||
@1 suffocated to death.=@1 задохнулся(ась).
|
||||
@1 was prickled to death by a cactus.=@1 был(а) до смерти заколот(а) кактусом.
|
|
@ -1,3 +0,0 @@
|
|||
# textdomain: mcl_playerplus
|
||||
@1 suffocated to death.=
|
||||
@1 was prickled to death by a cactus.=
|
|
@ -87,7 +87,7 @@ mcl_skins.set_player_skin = function(player, skin_id)
|
|||
return false
|
||||
end
|
||||
local playername = player:get_player_name()
|
||||
local skin, skin_file, preview
|
||||
local skin, preview
|
||||
if skin_id == nil or type(skin_id) ~= "number" or skin_id < 0 or skin_id > mcl_skins.skin_count then
|
||||
return false
|
||||
elseif skin_id == 0 then
|
||||
|
@ -109,7 +109,7 @@ mcl_skins.set_player_skin = function(player, skin_id)
|
|||
preview = "mcl_skins_player_dummy"
|
||||
end
|
||||
end
|
||||
skin_file = skin .. ".png"
|
||||
--local skin_file = skin .. ".png"
|
||||
mcl_skins.skins[playername] = skin
|
||||
mcl_skins.previews[playername] = preview
|
||||
player:get_meta():set_string("mcl_skins:skin_id", tostring(skin_id))
|
||||
|
|
Loading…
Reference in New Issue