Fix utility nodes not being diggable

This commit is contained in:
sfan5 2015-10-29 21:26:30 +01:00
parent e0fa7ce5bf
commit b154710d38

View File

@ -63,7 +63,7 @@ local function register_util_node(name, digit, humanname)
'teaching_lab.png', 'teaching_lab.png', 'teaching_lab_util_' .. name .. '.png'}, 'teaching_lab.png', 'teaching_lab.png', 'teaching_lab_util_' .. name .. '.png'},
paramtype2 = 'facedir', paramtype2 = 'facedir',
description = humanname, description = humanname,
groups = {teaching_util=1, snappy=2}, groups = {teaching_util=1, snappy=3},
teaching_digit = digit, teaching_digit = digit,
can_dig = function(pos, player) can_dig = function(pos, player)
if minetest.check_player_privs(player:get_player_name(), {teacher=true}) then if minetest.check_player_privs(player:get_player_name(), {teacher=true}) then