Fix "generateImagePart" warning

```
WARNING[Main]: generateImagePart(): Skipping "mcl_core_water_source_animation.png" as it's out-of-bounds (-16,-16) for [combine
```
placing the texture at -16 with width 16 means it is not used. At most -14 may be used (0 indexed, I believe) if you want to retain 2x2 pixels.
This commit is contained in:
kno10 2024-09-05 00:01:25 +02:00 committed by cora
parent ee0e808d1f
commit 2bc6a9fa93
No known key found for this signature in database

View File

@ -23,7 +23,7 @@ local function make_drop(pos, _, sound, interval, texture)
pt.expirationtime = t pt.expirationtime = t
pt.texture = "[combine:2x2:" .. pt.texture = "[combine:2x2:" ..
-math.random(1, 16) .. "," .. -math.random(1, 16) .. "=" .. texture math.random(-14, 0) .. "," .. math.random(-14, 0) .. "=" .. texture
minetest.add_particle(pt) minetest.add_particle(pt)