Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
magicbear committed Feb 9, 2024
1 parent 5e0f4b3 commit ea05770
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ Changelog
Note that they these tags will not actually close the issue/PR until they
are merged into the "default" branch.

v0.4.3
-------

Fix:

- Invalid character for opening cheated file

v0.4.2
-------

Expand Down
8 changes: 8 additions & 0 deletions palworld_server_toolkit/editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1653,12 +1653,20 @@ def characterInstanceName(self, instance):
except UnicodeEncodeError:
return 'Player:%s' % repr(saveParameter['NickName']['value'])
except KeyError:
print("Invalid Player")
gp(saveParameter)
print()
return 'Invalid Player'
else:
try:
return 'Pal:%s' % self.getPalTranslatedName(saveParameter)
except UnicodeEncodeError:
return 'Pal:%s' % repr(saveParameter['CharacterID']['value'])
except KeyError:
print("Invalid Pal")
gp(saveParameter)
print()
return 'Invalid Pal'

def build_gui(self):
#
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = palworld-server-toolkit
version = 0.4.2
version = 0.4.3
author = MagicBear
author_email = magicbearmo@gmail.com
description = A toolset for PalWorld Server
Expand Down

0 comments on commit ea05770

Please sign in to comment.