diff --git a/src/main/java/dev/lukebemish/biomesquisher/impl/BiomeSquisherCommands.java b/src/main/java/dev/lukebemish/biomesquisher/impl/BiomeSquisherCommands.java index 4ec52ca..63e7ce2 100644 --- a/src/main/java/dev/lukebemish/biomesquisher/impl/BiomeSquisherCommands.java +++ b/src/main/java/dev/lukebemish/biomesquisher/impl/BiomeSquisherCommands.java @@ -164,7 +164,6 @@ private static void setupServer(CommandContext commandContex WebServerThread.startServer( new WebServerThread( port, - biomeSource.possibleBiomes(), (x, y, location, frame, output) -> BiomeDumper.dump(commandContext.getSource().getLevel(), multiNoiseBiomeSource, x, y, location, output, frame) ) ); diff --git a/src/main/java/dev/lukebemish/biomesquisher/impl/server/WebServerThread.java b/src/main/java/dev/lukebemish/biomesquisher/impl/server/WebServerThread.java index efa82e0..6d96c0a 100644 --- a/src/main/java/dev/lukebemish/biomesquisher/impl/server/WebServerThread.java +++ b/src/main/java/dev/lukebemish/biomesquisher/impl/server/WebServerThread.java @@ -4,8 +4,6 @@ import dev.lukebemish.biomesquisher.impl.Platform; import dev.lukebemish.biomesquisher.impl.dump.BiomeDumper; import dev.lukebemish.biomesquisher.impl.dump.PngOutput; -import net.minecraft.core.Holder; -import net.minecraft.world.level.biome.Biome; import org.apache.http.*; import org.apache.http.entity.ByteArrayEntity; import org.apache.http.entity.ContentType; @@ -19,7 +17,6 @@ import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.util.Locale; -import java.util.Set; import java.util.concurrent.TimeUnit; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; @@ -28,7 +25,7 @@ public class WebServerThread extends Thread { private final HttpServer server; private final ImageProvider imageProvider; - public WebServerThread(int listenerPort, Set> possibleBiomes, ImageProvider imageProvider) { + public WebServerThread(int listenerPort, ImageProvider imageProvider) { this.server = ServerBootstrap.bootstrap() .setListenerPort(listenerPort) .registerHandler("*", new BiomeRequestHandler())