ModTweaker

ModTweaker

88M Downloads

Getting null when removing Blood Magic Alchemy recipe

elwooha6 opened this issue · 14 comments

commented

Issue Description:

When removing a recipe from Blood Magics Alchemy Table I get an NPE in minetweaker log. No error occurs when adding a new recipe.

What happens:

I get an error in chat.

What you expected to happen:

Scripts to reload and recipe to be removed.

Script used (Please Pastebin or gist your script, posting an unpasted or ungist'd script will automatically close this issue): https://pastebin.com/tFqbJpNN

Minetweaker.log file (Please Pastebin or gist your file, posting an unpasted or ungist'd file will automatically close this issue): https://pastebin.com/4sR9Q14M


Affected Versions (Do not use "latest"):

  • Minecraft: 1.10.2
  • Forge: 12.18.3.2254
  • Crafttweaker: 3.0.24
  • ModTweaker: 2.0.11
  • MTLib: 1.0.2

Your most recent log file where the issue was present:

https://pastebin.com/dxmieEKY

commented

same issue,

reload never works and seems to just add all recipes back and sometimes multiples of your new one if you add it.

Restarting the whole game will load all the changes you made correctly.

commented

Change to version 2.0.6

commented
commented

Latest version as per yesterday has a null error occur when you run "/minetweaker reload". The recipes will load from start up correctly from what I could tell, its just after a reload that messes everything up.

Version 2.0.6 works fine, I tired this version specifically after consulting a popular mod pack author.

Please let me know if you need video with explanation, i can make one quickly after I get home. I did not do any extensive tests, and I used the curse launcher.

commented
commented

What do you mean?

commented

ahh

commented

Can't help.

commented
commented

The thing is reload works just fine with older version of mod tweaker.

commented
commented

How about an answer to the OP, this guy just came along and hijacked my issue.

commented

Changing from version 2.0.8 to 2.0.9 is where I find the issue to take place. Saying you don't support your own mod is silly.

Script used:

recipes.remove(bloodmagic:BlockAltar);
recipes.addShaped(bloodmagic:BlockAltar,
[[botania:quartzTypeDark:2,null,botania:quartzTypeDark:2],
[botania:quartzTypeDark:1,botania:rune:1,botania:quartzTypeDark:1],
[avaritiaadditions:endest_pearl,bloodmagic:ItemMonsterSoul,avaritiaadditions:endest_pearl]]);

Picture after reload

https://puu.sh/v7r7F/365c83e07f.png

I literally can not use versions of your mod after 2.0.8 due to this, it takes to long to restart the entire game every time I want to check to make sure I did a recipe correctly.

NOTE: it also breaks the reload and other modded items recipes do not show up.

commented

@elwooha6 I'll try to reproduce tonight an see.

@JolyGoodDay Reload has NEVER been supported. IIRC it was added for minetweaker for vanilla recipies only. Even then the only official answer is "/mt reload is not supported for bugs or issues" Dont like it? Then dont use the mod or make your own.