Skip to content

Commit

Permalink
Update parser.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Captian-obvious authored Nov 22, 2023
1 parent 8f6c2ee commit 77a1272
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ def parse(file):
if (rbxmBuffer.read(8)!=HEADER or rbxmBuffer.read(6)!=RBXM_SIGNATURE):
errorHandler.error("Provided file does not match the header of an RBXM file.")
##end
if (rbxmBuffer.read(2)!="\0\0"):
errorHandler.error("Invalid RBXM version, if Roblox has released a newer version (unlikely), please let me know.")
##end
##endwith
##end
def toJson(obj):
Expand Down

0 comments on commit 77a1272

Please sign in to comment.