mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
parent
291e7730cf
commit
86d7f84b89
26 changed files with 120 additions and 139 deletions
|
@ -3551,7 +3551,7 @@ v3f Server::findSpawnPos()
|
|||
for (s32 i = 0; i < 8; i++) {
|
||||
v3s16 blockpos = getNodeBlockPos(nodepos);
|
||||
map.emergeBlock(blockpos, true);
|
||||
content_t c = map.getNodeNoEx(nodepos).getContent();
|
||||
content_t c = map.getNode(nodepos).getContent();
|
||||
|
||||
// In generated mapblocks allow spawn in all 'airlike' drawtype nodes.
|
||||
// In ungenerated mapblocks allow spawn in 'ignore' nodes.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue