Skip to content

Commit

Permalink
prevent player from getting settlements_medieval:junglewood nodes in …
Browse files Browse the repository at this point in the history
…inventory
  • Loading branch information
FaceDeer committed Jan 19, 2020
1 parent 20976ed commit d770b52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions settlements_medieval/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ end
minetest.register_alias("settlements:junglewood", "settlements_medieval:junglewood")

local junglewood_def = deep_copy(minetest.registered_nodes["default:junglewood"])
junglewood_def.drop = "default:junglewood"
minetest.register_node("settlements_medieval:junglewood", junglewood_def)
-- register inhabitants
if minetest.get_modpath("mobs_npc") ~= nil then
Expand Down

0 comments on commit d770b52

Please sign in to comment.