SwissalpS / replacer

tool that replaces nodes by clicking on them and another that inspects nodes and entities (Mod for Luanti/Minetest)
GNU Lesser General Public License v3.0
4 stars 3 forks source link

fix multinode trouble in field mode #50

Closed SwissalpS closed 8 months ago

SwissalpS commented 8 months ago

when clicking on the 'wrong' part of a multinode-node, direction calculation is nerfed. This patch avoids a server crash and emits a sound and message. User can simply click on another part of the multinode- node and the procedure should work.

I didn't bother adjusting the pointed_thing to make this work, as I don't consider the trouble worthwhile for this kind of node that breaks the voxel world.

The bug was detected by player frogTheSecond and reported by Huhhila on pandorabox. Thanks guys.