CraftTweaker

CraftTweaker

151M Downloads

replaceAllOccurences recipe still shows in JEI even after removal

tgstyle opened this issue ยท 1 comments

commented

Issue Description:

I have a script that replaces steel ingots with steel plates. It works fine, however the recipe that was removed before the replace still shows in JEI after the replace (with the replaced items even). It happens even if I remove the recipe after the replace.

What happens:

Recipe removes, replace happens, removed recipe shows in JEI.

What you expected to happen:

Removed Recipe to not show in JEI.

Script used (Please Pastebin or gist your script, posting an unpasted or ungist'd script will automatically close this issue):

https://gist.github.com/tgstyle/bc162f6358cbcb176fab6aded2cc5292

crafttweaker.log file (Please Pastebin or gist your file, posting an unpasted or ungist'd file will automatically close this issue):

https://gist.github.com/tgstyle/bc162f6358cbcb176fab6aded2cc5292


Affected Versions (Do not use "latest"):

  • Minecraft: 1.12.2
  • Forge: 2750
  • Crafttweaker: 4.1.9
  • Using a server: Yes
  • If yes, does the client have the exact same scripts? Yes
    2018-08-15_17 24 30
    2018-08-15_17 34 15
commented

So recipes.removeByRecipeName() does clean the recipe out of JEI, is there something not cleaning up named recipes when using Item IDs?