mirror of
https://github.com/ElCeejo/animalia.git
synced 2025-04-30 13:31:39 -04:00
Fix Failed to generate "[sheet:4x4:3,4"
This commit is contained in:
parent
20a59ddd30
commit
85d04bffc9
1 changed files with 1 additions and 1 deletions
|
@ -347,7 +347,7 @@ function animalia.add_food_particle(self, item_name)
|
||||||
if def.tiles then
|
if def.tiles then
|
||||||
image = def.tiles[1].name or def.tiles[1]
|
image = def.tiles[1].name or def.tiles[1]
|
||||||
end
|
end
|
||||||
if image then
|
if image and image ~= "" then
|
||||||
local crop = "^[sheet:4x4:" .. random(4) .. "," .. random(4)
|
local crop = "^[sheet:4x4:" .. random(4) .. "," .. random(4)
|
||||||
minetest.add_particlespawner({
|
minetest.add_particlespawner({
|
||||||
pos = head_pos,
|
pos = head_pos,
|
||||||
|
|
Loading…
Add table
Reference in a new issue