Update map item meta less often

This commit is contained in:
Nils Dagsson Moskopp 2022-05-20 15:53:21 +02:00
parent 458e9dd87d
commit 1df6f7dca4
Signed by untrusted user who does not match committer: erlehmann
GPG Key ID: A3BC671C35191080
1 changed files with 4 additions and 1 deletions

View File

@ -577,7 +577,10 @@ maps.show_map_hud = function(player)
return
end
if updated_wield_item then
if (
texture ~= maps.maps[player_name] and
updated_wield_item
) then
player:set_wielded_item(updated_wield_item)
end