Prevent placing of wielded maps

This commit is contained in:
Elias Fleckenstein 2021-05-02 17:14:57 +02:00 committed by Nils Dagsson Moskopp
parent 8f077ff55b
commit 9e4d630987
No known key found for this signature in database
GPG Key ID: A3BC671C35191080
2 changed files with 2 additions and 1 deletions

View File

@ -193,6 +193,7 @@ filled_wield_def.paramtype = "light"
filled_wield_def.drawtype = "mesh"
filled_wield_def.node_placement_prediction = ""
filled_wield_def.range = minetest.registered_items[""].range
filled_wield_def.on_place = mcl_util.call_on_rightclick
for _, texture in pairs(mcl_skins.list) do
local def = table.copy(filled_wield_def)

View File

@ -1,2 +1,2 @@
name = mcl_maps
depends = mcl_core, mcl_flowers, tga_encoder, tt, mcl_colors, mcl_skins
depends = mcl_core, mcl_flowers, tga_encoder, tt, mcl_colors, mcl_skins, mcl_util