Skip to content

Commit

Permalink
initialize xuid
Browse files Browse the repository at this point in the history
  • Loading branch information
xNatsuri committed Nov 30, 2024
1 parent eac8896 commit 7a695d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/player/conf.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ func (cfg Config) Apply(data *world.EntityData) {
data.Name, data.Pos, data.Rot = conf.Name, conf.Position, conf.Rotation
slot := uint32(conf.HeldSlot)
pdata := &playerData{
xuid: conf.XUID,
ui: inventory.New(54, nil),
inv: conf.Inventory,
enderChest: conf.EnderChestInventory,
Expand Down

0 comments on commit 7a695d9

Please sign in to comment.