9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-29 03:59:06 +00:00

Warn for smoothie's illegal reflective access

This commit is contained in:
CocoTheOwner
2021-03-09 15:20:55 +01:00
parent 41d1714d28
commit 343ae99b54
4 changed files with 13 additions and 0 deletions

View File

@@ -218,6 +218,7 @@ public class IrisObject extends IrisRegistrant
public IrisObject(int w, int h, int d)
{
Iris.warnsmoothie();
blocks = SmoothieMap.<BlockVector, BlockData>newBuilder()
.doShrink(true)
.optimizeFor(OptimizationObjective.LOW_GARBAGE)