mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-20 14:23:16 -04:00
let apples always drop
This commit is contained in:
parent
c1cd24c378
commit
471daf57ae
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ minetest.register_abm({
|
|||
-- Drop stuff other than the node itself
|
||||
itemstacks = minetest.get_node_drops(n0.name)
|
||||
for _, itemname in ipairs(itemstacks) do
|
||||
if itemname ~= n0.name then
|
||||
if itemname == "default:apple" or itemname ~= n0.name then
|
||||
local p_drop = {
|
||||
x = p0.x - 0.5 + math.random(),
|
||||
y = p0.y - 0.5 + math.random(),
|
||||
|
|
Loading…
Add table
Reference in a new issue