_
This commit is contained in:
@@ -486,7 +486,7 @@ function portalgun_onuse(itemstack, user, pointed_thing, mode) -- using the gun
|
|||||||
-- minetest.sound_play("portalgun_error", {pos = pos, max_hear_distance = 5, gain = 3})
|
-- minetest.sound_play("portalgun_error", {pos = pos, max_hear_distance = 5, gain = 3})
|
||||||
-- return itemstack
|
-- return itemstack
|
||||||
-- end
|
-- end
|
||||||
local istestblock = string.find(nname, "portalgun:testblock", 1)
|
local istestblock = string.find(nname, "portalgun:testblock", 1) or string.find(nname, "mesecons_lightstone:lightstone_white", 1)
|
||||||
if not istestblock then
|
if not istestblock then
|
||||||
minetest.sound_play("portalgun_error", {pos = pos, max_hear_distance = 5, gain = 3})
|
minetest.sound_play("portalgun_error", {pos = pos, max_hear_distance = 5, gain = 3})
|
||||||
return itemstack
|
return itemstack
|
||||||
|
Reference in New Issue
Block a user