Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lBaah authored Mar 1, 2021
1 parent b5f329c commit 9388ec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spawnConvert.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
i = 0
for child in root:
for spawns in child:
if spawns.tag == 'npc': #change to monster/nps to get all monster/npc spawns
if spawns.tag == 'npc': #change to monster/npcs to get all monster/npc spawns
centerx = int(child.get('centerx')) + int(spawns.get('x'))
centery = int(child.get('centery')) + int(spawns.get('y'))
centerz = int(child.get('centerz'))
Expand Down

0 comments on commit 9388ec8

Please sign in to comment.