Don't set creative inventory twice on player join

This commit is contained in:
Wuzzy 2017-06-02 23:26:56 +02:00
parent 260c83087c
commit 7389ed0e25

@ -163,7 +163,6 @@ minetest.register_on_joinplayer(function(player)
end
armor.update_inventory = function(self, player)
update_inventory_original(self, player)
set_inventory(player, true)
end
armor:set_player_armor(player)
armor:update_inventory(player)