mirror of
https://github.com/ElCeejo/animalia.git
synced 2025-04-30 05:21:40 -04:00
Really fix the problem
This commit is contained in:
parent
85d04bffc9
commit
70e011ef8b
1 changed files with 2 additions and 2 deletions
|
@ -347,8 +347,8 @@ function animalia.add_food_particle(self, item_name)
|
|||
if def.tiles then
|
||||
image = def.tiles[1].name or def.tiles[1]
|
||||
end
|
||||
if image and image ~= "" then
|
||||
local crop = "^[sheet:4x4:" .. random(4) .. "," .. random(4)
|
||||
if image then
|
||||
local crop = "^[sheet:4x4:" .. random(0, 3) .. "," .. random(0, 3)
|
||||
minetest.add_particlespawner({
|
||||
pos = head_pos,
|
||||
time = 0.5,
|
||||
|
|
Loading…
Add table
Reference in a new issue