Update to latest Minetest changes

This commit is contained in:
PilzAdam
2012-09-03 15:55:01 +02:00
parent eb26f112a3
commit e7ea85077f
2 changed files with 3 additions and 71 deletions

View File

@ -17,18 +17,8 @@ How to use the mod:
Just install it an everything works.
For developers:
This mod changes the minetest.get_node_drops() function to always
return {}. Use minetest.get_drops() to get the right drop.
Example:
Before:
local drop = minetest.get_node_drops("default:dirt", "default:pick_mese")
After:
local drop
if minetest.get_modpath("item_drop") == nil then
drop = minetest.get_node_drops("default:dirt", "default:pick_mese")
else
drop = minetest.get_drops("default:dirt", "default:pick_mese")
end
You dont have to use get_drops() anymore because of changes in the
builtin files of minetest.
License:
Sourcecode: WTFPL (see below)