mirror of
https://github.com/ElCeejo/animalia.git
synced 2025-04-30 13:31:39 -04:00
change random(4) to random(0, 3) on crop sheet:4x4 for texture
This commit is contained in:
parent
259e741282
commit
aa8422631e
1 changed files with 1 additions and 1 deletions
|
@ -348,7 +348,7 @@ function animalia.add_food_particle(self, item_name)
|
|||
image = def.tiles[1].name or def.tiles[1]
|
||||
end
|
||||
if image then
|
||||
local crop = "^[sheet:4x4:" .. random(4) .. "," .. random(4)
|
||||
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