This commit is contained in:
Bruno Rybársky 2022-08-13 10:01:20 +02:00
parent ff70d2e461
commit 0cfd94d7d0

@ -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})
-- return itemstack
-- 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
minetest.sound_play("portalgun_error", {pos = pos, max_hear_distance = 5, gain = 3})
return itemstack