Time Stages

Time Stages

192k Downloads

[Bug]: Crash With Time Stages

Opened this issue · 1 comments

commented

General Info

  • I am running a modpack
  • I can reproduce this issue consistently in single-player
  • I can reproduce this issue consistently in multi-player
  • I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I am having the same problem.
  • I am crashing and can provide my crash report(s)
  • I am using the latest version of the mod

Forge version

36.2.29

Mod version

Time-stages-1.16.5-1.4

Java version

jdk-11.0.12_windows-x64_bin

Issue Description

My game just crashed. I don't know if this is caused by irregularities or errors in the scripts I wrote. The crash only happens the first time I enter the world after starting the game. It does not happen the second or third time I create and enter the world.
The scripts about Time Stages are limited to lines 32 to 65.

Additional Information

Crash Report https://pastebin.ubuntu.com/p/SHRdfPzYxP/

Scripts https://pastebin.ubuntu.com/p/3QGGtdrKKx/

commented

And what's more, your examples are wrong for 1.16
"// Makes you gain a stage 30 seconds after getting the needed stage.
mods.TimeStages.addTimer("neededStage" ,"UnlockedStage" ,30 ,"seconds");

// Removes a stage after 20 minutes.
mods.TimeStages.removalTimer("removedStage" ,20 ,"minutes");"

"// Makes you gain a stage 30 seconds after getting the needed stage.
mods.timestages.Timers.addTimer("neededStage" ,"UnlockedStage" ,30 ,"seconds");

// Removes a stage after 20 minutes.
mods.timestages.Timers.removalTimer("removedStage" ,20 ,"minutes");"