Botany Pots

Botany Pots

33M Downloads

Botany Pots keep ticking on negative required growth ticks

InfinityRaider opened this issue ยท 0 comments

commented

My seeds have growth requirements for soils which evolve with their genetic traits, so sometimes a seed might be able to grow on a soil, sometimes it does not.
Currently I am returning -1 if a seed can not grow there, however the Tile Entity ticking logic does not account for negative values.
Would it be possible to modify the code to stop incrementing the growth counter when a negative amount of growth ticks is received?