From 9388ec8abccb4c1d87ef4a1b921cb83f90ee3608 Mon Sep 17 00:00:00 2001 From: lBaah <40009702+lBaah@users.noreply.github.com> Date: Mon, 1 Mar 2021 03:52:45 -0300 Subject: [PATCH] typo --- spawnConvert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spawnConvert.py b/spawnConvert.py index 36bfc61..e79ad00 100644 --- a/spawnConvert.py +++ b/spawnConvert.py @@ -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'))