Tinkers Construct

Tinkers Construct

160M Downloads

Can't set `max_tier` in random material function

Insane96 opened this issue ยท 2 comments

commented

Minecraft Version

1.18.2

Forge Version

40.1.68

Mantle Version

1.9.27

Tinkers' Construct Version

3.5.1.31

Describe your issue

Setting the max_tier for a random material is not possible as the mod reads min_tier twice instead of min and max_tier

int maxTier = GsonHelper.getAsInt(json, "min_tier", Integer.MAX_VALUE);

Crash Report

No response

Other mods

None

Tried reproducing with just Tinkers?

Yes

Performance Enchancers

None of the above

Searched for known issues?

Checked pinned issues, Searched open issues, Searched closed issues, Checked the FAQ

commented

Ah, so there were two bugs making that feature difficult to use. Shows how few people tried to use it.

commented

Fixed in 3.4.2.40