Skip to content

Commit

Permalink
Update Main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Darthsae authored Oct 7, 2023
1 parent 50c54a1 commit b2449b9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions TCreator/Main.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def get_replaced_values(file_path, file_type):
matchDustType = re.search(patternDustType, content)
matchMapEntry = re.search(patternMapEntry, content)

tile_values = {
replaced_values = {
'solid': matchSolid.group(1) if matchSolid else None,
'merge_dirt': matchMergeDirt.group(1) if matchMergeDirt else None,
'block_light': matchBlockLight.group(1) if matchBlockLight else None,
Expand All @@ -106,8 +106,6 @@ def get_replaced_values(file_path, file_type):
'map_color_b': matchMapEntry.group(1).split(',')[2] if matchMapEntry else None
}

return tile_values

return replaced_values

class ScrollableWindow(Frame):
Expand Down

0 comments on commit b2449b9

Please sign in to comment.