Sokomine / travelnet

network of teleporter-boxes that allow easy travelling to other boxes on the same network (Mod for Minetest)
GNU General Public License v3.0
30 stars 52 forks source link

fixes #27: do not consider hand in creative mode as digging #30

Closed russian-harbor closed 5 years ago

russian-harbor commented 6 years ago

in creative mode hand has all capabilities but with uses == 0, so this should be added to if condition also.

russian-harbor commented 6 years ago

PR for #27 fix

codexp commented 6 years ago

use "Hide whitespace changes" option for diff to see actual changes.

Sokomine commented 5 years ago

Thanks for the PR. The way I wanted to distinguish between digging and punching didn't turn out to be practical for players as hoped. Thus, a button has taken over the job of "remove station"/dig station, and there is no longer a need to check for tool capabilities.