9
0
mirror of https://github.com/BX-Team/DivineMC.git synced 2025-12-21 07:49:18 +00:00

some updates to chunk loader

This commit is contained in:
NONPLAYT
2025-04-19 02:06:55 +03:00
parent c1e1ca21d1
commit 50d40548fa
4 changed files with 40 additions and 98 deletions

View File

@@ -18,6 +18,12 @@ public class DivineBootstrap {
public static void boot(final OptionSet options) {
SharedConstants.tryDetectVersion();
io.papermc.paper.ServerBuildInfo info = io.papermc.paper.ServerBuildInfo.buildInfo();
if (io.papermc.paper.ServerBuildInfoImpl.IS_EXPERIMENTAL) {
LOGGER.warn("Running an experimental version of {}, please proceed with caution.", info.brandName());
}
Path path2 = Paths.get("eula.txt");
Eula eula = new Eula(path2);
boolean eulaAgreed = Boolean.getBoolean("com.mojang.eula.agree");