Create a Minetweaker script containing an error related to removing a Magneticraft recipe, e.g. mods.magneticraft.Crusher.removeRecipe(<minecraft:ironOre>);
Launch the game and enter a new world. You should get a chat message indicating your error. (ERROR: test.zs:1: Could not resolve <minecraft : ironOre>)
Look up the recipe and/or uses for an item using NEI, and notice that it works properly.
Fix the error in the Minetweaker script (<minecraft:ironOre> -> <minecraft:iron_ore>) and execute /mt reload. You should receive a message indicating successful execution of the command (Scripts reloaded).
At this point, looking up the recipe or uses for any item in NEI crashes the game. See below for log.
Although this seems like it would primarily affect modpack authors and could be avoided/worked around, it can also affect normal players. With a particular more complicated script I have been working on, everything works fine on the first execution but a /mt reload results in a null pointer error in Minetweaker and triggers the bug. This also happens upon exiting and re-entering a world, where the bug would affect a normal player as well. I am working to isolate the problem in the more complicated script and will post my results here.
Mods:
Steps to reproduce:
mods.magneticraft.Crusher.removeRecipe(<minecraft:ironOre>);
ERROR: test.zs:1: Could not resolve <minecraft : ironOre>
)<minecraft:ironOre>
-><minecraft:iron_ore>
) and execute/mt reload
. You should receive a message indicating successful execution of the command (Scripts reloaded
).Although this seems like it would primarily affect modpack authors and could be avoided/worked around, it can also affect normal players. With a particular more complicated script I have been working on, everything works fine on the first execution but a
/mt reload
results in a null pointer error in Minetweaker and triggers the bug. This also happens upon exiting and re-entering a world, where the bug would affect a normal player as well. I am working to isolate the problem in the more complicated script and will post my results here.Minecraft log: http://pastebin.com/pr7gC4PM
Minetweaker log: