Fixed entity unloading on chunk
This commit is contained in:
1 parent
ee22aadcc7
commit
3f22665e21
6 files changed
+23
-61
No files matched your search
@@ -188,7 +188,7 @@ for layerIndex, layer in enumerate(tileLayers):
|
||||
|
||||
|
||||
# Pre generate entity data
|
||||
nextEntityId = 1
|
||||
nextEntityId = 100
|
||||
for obIndex, ob in enumerate(objectLayer['objects']):
|
||||
if 'x' not in ob or 'y' not in ob:
|
||||
print(f"Error: Object in object layer does not contain 'x' or 'y' key.")
|
||||
|
||||
Reference in new issue
Block a user