mirror of
https://github.com/OgelGames/fakelib.git
synced 2025-01-06 16:20:35 +01:00
don't copy fake player inventory
This commit is contained in:
parent
a7b0160ad2
commit
47586bf380
@ -50,7 +50,7 @@ function fakelib.create_player(player)
|
|||||||
data.metadata = fakelib.create_metadata(player.metadata)
|
data.metadata = fakelib.create_metadata(player.metadata)
|
||||||
end
|
end
|
||||||
if fakelib.is_inventory(player.inventory) then
|
if fakelib.is_inventory(player.inventory) then
|
||||||
data.inventory = fakelib.create_inventory(player.inventory)
|
data.inventory = player.inventory
|
||||||
end
|
end
|
||||||
local size = 32
|
local size = 32
|
||||||
if data.inventory and type(player.wield_list) == "string" then
|
if data.inventory and type(player.wield_list) == "string" then
|
||||||
|
Loading…
Reference in New Issue
Block a user