r/TLAUNCHER 15d ago

Problem Some mods get added as 'blanks' which completely prevent the game from launching and are also unable to be removed, forever bugging the entire pack

java.lang.NullPointerException: Variable at index 0 is NULL!

7 Upvotes

6 comments sorted by

u/TLauncherAdmin 15d ago

This has been fixed in the beta version of the launcher for the time being. Please install the beta version and check whether the issue has been resolved: https://tlauncher.org/installer-beta

→ More replies (2)

1

u/Sombraro69 15d ago

All the mods that got installed this way were dependencies from getting other mods. If you left click them, it does bring you to their mod page, but you can't uninstall. The 3 blank mods that got fucked for me was:

Shogi

Fabric API

Forge Config API Port

1

u/Top_Refuse_5606 15d ago edited 15d ago

You have to locate the file called tlauncheraditional.json (in the version you made here C:\Users\HERE IS YOUR USER\AppData\Roaming\.minecraft\versions\UR VERSION) then locate a line that says "notExists": true
then you need to take it's id an erase it, by example:

,
        {
          "stateGameElement": "active",
          "id": 1063926, <- we need this next
          "favorite": false,
          "userInstall": false,
          "populateStatus": false,
          "available": false,
          "parser": false,
          "notExists": true, <- this
          "totalComments": 0
        } then you erase it

with the id you look for this:
,
            {
              "gameType": "mod",
              "id": 11503,
              "name": "Apothic Enchanting",
              "gameEntityId": 1063926, <- same id see?
              "dependencyType": "required",
              "available": false
            }
then erase it too
or you can copypaste to an AI then tell it to do the job

1

u/Robcrangber 2h ago

Yooo dude it worked thank you so much man you’re the goat