Skip to content

Commit

Permalink
Update process_input.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Dablakbandit committed Jan 23, 2024
1 parent 91534dd commit f854004
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/process_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def process_input():
model_file = f"assets/ms/models/{model.replace('ms:', '')}.json"
parent = modify_neck(model_file)
neck = list_files('run/neck.txt')
if parent is not None and parent not in neck and parent is not 'item/handheld':
if parent is not None and parent not in neck and parent != 'item/handheld':
neck.add(parent)
model_file = f"assets/ms/models/{parent.replace('ms:', '')}.json"
parent = modify_neck(model_file)
Expand All @@ -82,7 +82,7 @@ def process_input():
# Example usage:
model_file = f"assets/ms/models/{model.replace('ms:', '')}.json"
parent = modify_cape(model_file)
if parent is not None and parent not in cape and parent is not 'item/handheld':
if parent is not None and parent not in cape and parent != 'item/handheld':
cape.add(parent)
model_file = f"assets/ms/models/{parent.replace('ms:', '')}.json"
modify_cape(model_file)
Expand Down

0 comments on commit f854004

Please sign in to comment.