Fixing tree brush to work anywhere
GavJenks opened this issue ยท 0 comments
Another feature that disappeared for some reason and should be reimplemented:
Tree brush should do the following:
- Store the block you sniped into memory, unless it is a leaf block in which case the brush does nothing.
- Turn that block into grass or dirt (since the bukkit tree method requires it), OR if the currently selected tree type is a muchroom, then mycellium instead.
- Sprout a tree or mushroom from it.
- Turn the original block back to what it was from memory (both id and data values)
This allows one to spam trees onto ANY surface, without changing the surface in the process, and without having to painstakingly turn it into stupid grass first, and then change it all back. The exception for leaves prevents trees stacking on top of each other while placing a whole grove.
Don't know why this was taken out, but it is absolutely essential for making any forested areas in our highly customized terraforming, where the ground is more often than not NOT dirt.