mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-14 01:04:12 +00:00
Fix #406 locked worktable recipes sometimes become unlocked
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user