Use correct Supplier interface (1.7.10)

It works on modern since
com.google.common.base.Supplier implements
java.util.function.Supplier
but that is not guaranteed
This commit is contained in:
Fabian Maurer
2025-09-19 14:05:43 +02:00
parent 15cda35434
commit b4cb390333
@@ -19,6 +19,7 @@
package com.seibel.distanthorizons.core.render;
import com.google.common.base.Supplier;
import com.google.common.base.Suppliers;
import com.google.common.cache.Cache;
import com.seibel.distanthorizons.api.interfaces.render.IDhApiRenderableBoxGroup;
@@ -60,7 +61,6 @@ import java.util.List;
import java.util.concurrent.*;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.locks.ReentrantLock;
import java.util.function.Supplier;
/**
* A render section represents an area that could be rendered.