Realistic Torches

Realistic Torches

14M Downloads

[3.1.1] Crash: torchBurnoutTime negative value

CurePindal opened this issue ยท 1 comments

commented

Wanted to disable torch burnout in my game. It crashed

Config states:
#The amount of time until a torch burns out, in minutes. Setting this to a negative value will disable torch burnout.
#Range: -1 ~ 2880
torchBurnoutTime = -1

But:
Caused by: java.lang.IllegalArgumentException: Max value of burntime must be greater than min (0)
at net.minecraft.state.IntegerProperty.(SourceFile:19) ~[?:?]
at net.minecraft.state.IntegerProperty.func_177719_a(SourceFile:57) ~[?:?]
at com.chaosthedude.realistictorches.blocks.RealisticTorchBlock.(RealisticTorchBlock.java:35) ~[?:1.16.4-3.1.1]

commented

Fixed in version 3.1.2.