Merge pull request #634 from altrisi/freeze-schedules

❄️ Freezing Scarpet ❄️
This commit is contained in:
gnembon authored and GitHub committed 2021-01-07 00:00:48 -04:00
commit eac4eb0537
11 files changed
+143 -14

No files matched your search

@@ -167,6 +167,15 @@ public class ShapesRenderer
}
}
public void renewShapes()
{
synchronized (shapes)
{
shapes.values().forEach(el -> el.values().forEach(shape -> {
shape.expiryTick++;
}));
}
}
public abstract static class RenderedShape<T extends ShapeDispatcher.ExpiringShape>
{