Skip to content

Commit 4435fc9

Browse files
authored
Saving uuid for non-players too
1 parent 33627f7 commit 4435fc9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/plugins/entities.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ function inject (bot) {
207207
const entityData = bot.registry.entities[entityType]
208208
setEntityData(entity, entityType, entityData)
209209
updateEntityPos(entity, pos)
210+
entity.uuid = uuid
210211
return entity
211212
}
212213

0 commit comments

Comments
 (0)