mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-21 07:46:52 +00:00
Fix issue causing entities to spawn in ground
This commit is contained in:
1 parent
472493db3e
commit
57f18477e4
1 file changed
+1
-1
@@ -67,7 +67,7 @@ public class EntityFeature implements Feature {
|
||||
}
|
||||
if(canSpawn) {
|
||||
Debug.info("Spawning entity at " + attempt);
|
||||
chunk.getWorld().spawnEntity(attempt.add(0.5, 1, 0.5), type); // Add 0.5 to X & Z so entity spawns in center of block.
|
||||
chunk.getWorld().spawnEntity(attempt.add(0.5, 2, 0.5), type); // Add 0.5 to X & Z so entity spawns in center of block.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user