HomeJavaModsAR - TR:Nightmares love skill fix
AR - TR:Nightmares love skill fix
ModsJava

AR - TR:Nightmares love skill fix

by miskosiska · on CurseForge

Fixes two crashes in Tensura Reincarnated: Nightmare — LoveSkill NoSuchMethodError and ManasTestTheory bad Personality enum values.

⬇ Download on CurseForge

The author built this one for Minecraft 1.19.2 on Forge. On other versions it may install and then do nothing.

A lightweight JS coremod patch for Tensura Reincarnated: Nightmare (trnightmare) that fixes two runtime crashes:

1. LoveSkill.onBeingDamaged NoSuchMethodError
   - The original code calls java.util.Random methods that fail due to SRG mapping issues at runtime.
   - This fix replaces all java.util.Random usage with ThreadLocalRandom.current(), which bypasses SRG remapping entirely.

2. ManasTestTheory.onTick IllegalArgumentException
   - Saved world data can contain invalid Personality enum values that cause a crash when the skill ticks.
   - This fix wraps the onTick method body in a try-catch to gracefully suppress bad enum lookups from corrupted or outdated save data.

Requires: Tensura Reincarnated: Nightmare (trnightmare)
Minecraft 1.19.2 — Forge

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more