ModTweaker

ModTweaker

88M Downloads

Metallurgy 4: adding/removing recipes to Alloyer causes crash

PitchBright opened this issue · 9 comments

commented

Sample recipes added in script:

mods.metallurgy.Alloyer.addRecipe(Metallurgy:base.dust:0, Metallurgy:vanilla.dust:0, Metallurgy:orichalcum.ingot * 2);

mods.metallurgy.Alloyer.removeRecipe(Metallurgy:steel.ingot);

Crash report: http://pastebin.com/2iK5UGN1

commented

NEVER DO /mt reload or anything of the like

commented

When does the crash happen? on reload? when looking things up in nei?

commented

When pressing "R" to see a recipe of an item (any item) in NEI.

commented

is this after a /mt reload? or /minetweaker reload?

commented

Oh, so it works fine if the server boots with the script… but once it gets reloaded with the "/mt reload" command, it borks out?

Also, does that apply to "/minetweaker reload" command (I'm assuming it does).

commented

/mt reload

commented

Yea... metallurgy must cache their recipes.

commented

Does that mean there is no solution? Or should I be doing something differently?

commented

Well just don't use /mt reload, I am working with stan to make it that some scripts can't be reloaded.