Fix atomic cache not transient

This commit is contained in:
Daniel Mills 2021-08-02 15:54:45 -04:00
parent d4c1e62c72
commit c50702c83b

View File

@ -46,7 +46,7 @@ public class IrisCavernZone implements IRare {
@MaxNumber(100)
private int rarity = 1;
private AtomicCache<ProceduralStream<Boolean>> carveCache = new AtomicCache<>();
private transient AtomicCache<ProceduralStream<Boolean>> carveCache = new AtomicCache<>();
public boolean isCarved(RNG rng, double xx, double yy, double zz) {
if (carver != null) {