Fix #406 locked worktable recipes sometimes become unlocked

This commit is contained in:
mezz committed 2014-12-24 20:21:15 -08:00
1 parent 77295ab74e
commit 1430becdff
1 file changed
+2
@@ -161,6 +161,8 @@ public class RecipeMemory implements INBTTagable {
Recipe memory = getMemorized(crafting, world);
if (memory != null) {
if (memory.isLocked() != recipe.isLocked())
recipe.toggleLock();
int index = recipes.indexOf(memory);
recipes.set(index, recipe);
return;