diff --git a/src/main/java/ru/dbotthepony/mc/otm/block/entity/BlockEntityMatterPanel.java b/src/main/java/ru/dbotthepony/mc/otm/block/entity/BlockEntityMatterPanel.java index 897ba7271..467fd65d7 100644 --- a/src/main/java/ru/dbotthepony/mc/otm/block/entity/BlockEntityMatterPanel.java +++ b/src/main/java/ru/dbotthepony/mc/otm/block/entity/BlockEntityMatterPanel.java @@ -149,6 +149,7 @@ public class BlockEntityMatterPanel extends BlockEntityMattery implements IMatte tasks.put(entry.getKey(), newer); listeners.forEach(menu -> menu.taskUpdated(newer)); grid.onMatterTaskUpdated(newer, task); + setChanged(); } return new MatterTaskAllocation(task, get_pattern); @@ -189,6 +190,8 @@ public class BlockEntityMatterPanel extends BlockEntityMattery implements IMatte listeners.forEach(menu -> menu.taskUpdated(finalGet_task)); } + setChanged(); + return true; } @@ -239,6 +242,7 @@ public class BlockEntityMatterPanel extends BlockEntityMattery implements IMatte grid.onMatterTaskRemoved(task); listeners.forEach(menu -> menu.taskRemoved(task)); + setChanged(); } public void removeTask(PatternState state) { @@ -254,6 +258,8 @@ public class BlockEntityMatterPanel extends BlockEntityMattery implements IMatte listeners.forEach(menu -> menu.taskUpdated(task)); + setChanged(); + return task; }