added check for rangedweapons mod
This commit is contained in:
parent
a8587b670a
commit
1518d3325c
2
init.lua
2
init.lua
@ -152,6 +152,7 @@ minetest.register_on_player_inventory_action(function(player, action, inventory,
|
|||||||
surface_effect.mask(player)
|
surface_effect.mask(player)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
if minetest.get_modpath("rangedweapons") then
|
||||||
minetest.clear_craft({
|
minetest.clear_craft({
|
||||||
output = "rangedweapons:hand_grenade"
|
output = "rangedweapons:hand_grenade"
|
||||||
})
|
})
|
||||||
@ -164,3 +165,4 @@ minetest.clear_craft({
|
|||||||
minetest.clear_craft({
|
minetest.clear_craft({
|
||||||
output = "rangedweapons:40mm"
|
output = "rangedweapons:40mm"
|
||||||
})
|
})
|
||||||
|
end
|
Loading…
Reference in New Issue
Block a user