mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-16 02:05:04 +00:00
Remove unused mcl_inventory code
This commit is contained in:
parent
bdb54d5375
commit
e87a1dc44a
1 changed files with 0 additions and 5 deletions
|
@ -32,10 +32,6 @@ local function drop_fields(player, name)
|
|||
end
|
||||
end
|
||||
|
||||
local function update_armor(player)
|
||||
return
|
||||
end
|
||||
|
||||
local function set_inventory(player, armor_change_only)
|
||||
if minetest.setting_getbool("creative_mode") then
|
||||
if armor_change_only then
|
||||
|
@ -139,7 +135,6 @@ minetest.register_on_joinplayer(function(player)
|
|||
local update_inventory_original = armor.update_inventory
|
||||
armor.set_player_armor = function(self, player)
|
||||
set_player_armor_original(self, player)
|
||||
update_armor(player)
|
||||
end
|
||||
armor.update_inventory = function(self, player)
|
||||
update_inventory_original(self, player)
|
||||
|
|
Loading…
Reference in a new issue