don't copy fake player inventory

This commit is contained in:
OgelGames 2024-05-15 22:15:33 +10:00
parent a7b0160ad2
commit 47586bf380

View File

@ -50,7 +50,7 @@ function fakelib.create_player(player)
data.metadata = fakelib.create_metadata(player.metadata)
end
if fakelib.is_inventory(player.inventory) then
data.inventory = fakelib.create_inventory(player.inventory)
data.inventory = player.inventory
end
local size = 32
if data.inventory and type(player.wield_list) == "string" then