fix mismatching name

This commit is contained in:
troido 2020-04-08 16:58:26 +02:00
parent f52614874f
commit b649b3a72e
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ class PlayerLoader:
except OSError:
saved = None
p = player.Player.fromJSON(saved, world)
p.name = name
return p
def exists(self, name):