mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-28 13:53:45 +01:00
Remove unused mcl_inventory code
This commit is contained in:
parent
bdb54d5375
commit
e87a1dc44a
@ -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 New Issue
Block a user