Formations (Structure Library)

Formations (Structure Library)

15M Downloads

[Crash] IllegalArgumentException: Bound must be positive

evhub opened this issue ยท 1 comments

commented

Version Info

  • Minecraft 1.20.1
  • Formations 1.0.2
  • Formations Nether 1.0.4
  • Formations Overworld 1.0.3

What mod loader are you using?: Forge 47.3.0

Steps to Reproduce

The server crashed upon generating an RFTools Dimensions dimension.

Crash report

Crash Report

commented

Yup, I was generating a random number between the highest and lowest block when trying to find a placement location for a structure, but when the highest and lowest block where the same, it would end up with a range of 0 leading to the crash.
It should be fixed now in Formations 1.0.4.
Thank you for reporting the issue!