Improve update propagation performance

This commit is contained in:
2026-03-06 18:35:34 +01:00
parent b08f764a17
commit aaa8a9d122
11 changed files with 231 additions and 102 deletions
@@ -53,7 +53,7 @@ public class DynamicRegionCommand extends SWCommand {
dynamicRegion.getArea().reset(new PasteBuilder(new PasteBuilder.FileProvider(dynamicRegion.getArea().getResetFile())), false);
// TODO: This here still has some kind of error!aww
DynamicRegionSystem.INSTANCE.getNeighbours(dynamicRegion).forEach(r -> r.update(dynamicRegion));
dynamicRegion.updateNeighbours();
}
@Register({"dynamic", "delete"})