Skip to content

AR - TR:Nightmares love skill fix

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

6k downloads Updated

No ratings yet

Be the first to rate it.

Rate it

Community listing page

Community listing page, reviews may not be monitored by the author.

About

Description

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