Max on pregen radius parameter

This commit is contained in:
CocoTheOwner 2021-09-11 09:15:09 +02:00
parent 784fca98c8
commit ff1733225a

View File

@ -46,6 +46,7 @@ public class CommandPregen implements DecreeExecutor {
sender().sendMessage(C.RED + "The engine access for this world is null!"); sender().sendMessage(C.RED + "The engine access for this world is null!");
sender().sendMessage(C.RED + "Please make sure the world is loaded & the engine is initialized. Generate a new chunk, for example."); sender().sendMessage(C.RED + "Please make sure the world is loaded & the engine is initialized. Generate a new chunk, for example.");
} }
radius = Math.max(radius, 1024);
IrisToolbelt.pregenerate(PregenTask IrisToolbelt.pregenerate(PregenTask
.builder() .builder()
.center(new Position2(center)) .center(new Position2(center))