Skip to content

Commit

Permalink
fix byte property
Browse files Browse the repository at this point in the history
  • Loading branch information
KrisCris committed Oct 10, 2024
1 parent e160b00 commit 3eb6675
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/palworld_pal_editor/core/pal_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,11 @@ def BoolProperty(value: bool):
return {"value": value, "id": None, "type": "BoolProperty"}

@staticmethod
def ByteProperty(value: Any, type: str = None):
def ByteProperty(value: Any, type: str = 'None'):
return {"value": {
"type": type,
"value": value
}, "id": "None", "type": "ByteProperty"}
}, "id": None, "type": "ByteProperty"}

@staticmethod
def get_BaseType(container: dict) -> Optional[Any]:
Expand Down

0 comments on commit 3eb6675

Please sign in to comment.