Fixed: Incorrect SpawnPotentials structure when adjusting spawn positions during copy and import.
Described in mcedit/mcedit#347
This commit is contained in:
parent
3dcd449e68
commit
66c934725f
@ -103,7 +103,7 @@ class TileEntity(object):
|
|||||||
mobs.append(mob)
|
mobs.append(mob)
|
||||||
potentials = eTag.get('SpawnPotentials')
|
potentials = eTag.get('SpawnPotentials')
|
||||||
if potentials:
|
if potentials:
|
||||||
mobs.extend(potentials)
|
mobs.extend(p["Properties"] for p in potentials)
|
||||||
|
|
||||||
for mob in mobs:
|
for mob in mobs:
|
||||||
if "Pos" in mob:
|
if "Pos" in mob:
|
||||||
|
Reference in New Issue
Block a user