Safe add node

Post Reply
Nore
Developer
Posts: 501
Joined: Wed Nov 28, 2012 11:35
GitHub: Ekdohibs

Safe add node

by Nore » Post

I could be good to have a safe add_node function, which will do the same as add_node, but it the position is not loaded, save the change and do it after the map block is loaded.

mauvebic
Member
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

by mauvebic » Post

Well usually when you hit an 'ignore' one of two things will happen: the block will wrongly replace a surrounding block, or if you have a later/earlier version with the fix in builtin/item.lua, the block won't place at all until the area is loaded.

Nore
Developer
Posts: 501
Joined: Wed Nov 28, 2012 11:35
GitHub: Ekdohibs

by Nore » Post

I am mainly thinking to mapgen mods, for example landup, which will sometimes want to modify a node in a unloaded/ungenerated area, ignoring what is there, but for now it will not work.

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests