Don't set creative inventory twice on player join
This commit is contained in:
parent
260c83087c
commit
7389ed0e25
|
@ -163,7 +163,6 @@ minetest.register_on_joinplayer(function(player)
|
||||||
end
|
end
|
||||||
armor.update_inventory = function(self, player)
|
armor.update_inventory = function(self, player)
|
||||||
update_inventory_original(self, player)
|
update_inventory_original(self, player)
|
||||||
set_inventory(player, true)
|
|
||||||
end
|
end
|
||||||
armor:set_player_armor(player)
|
armor:set_player_armor(player)
|
||||||
armor:update_inventory(player)
|
armor:update_inventory(player)
|
||||||
|
|
Loading…
Reference in New Issue