diff --git a/paper-server/patches/sources/net/minecraft/server/Main.java.patch b/paper-server/patches/sources/net/minecraft/server/Main.java.patch index 261d5d355c1c..0ceb8abb23bd 100644 --- a/paper-server/patches/sources/net/minecraft/server/Main.java.patch +++ b/paper-server/patches/sources/net/minecraft/server/Main.java.patch @@ -66,15 +66,15 @@ } - if (!eula.hasAgreedToEULA()) { -+ // Spigot start ++ // Paper start - eula system property + boolean eulaAgreed = Boolean.getBoolean("com.mojang.eula.agree"); + if (eulaAgreed) { -+ LOGGER.error("You have used the Spigot command line EULA agreement flag."); -+ LOGGER.error("By using this setting you are indicating your agreement to Mojang's EULA (https://aka.ms/MinecraftEULA)."); -+ LOGGER.error("If you do not agree to the above EULA please stop your server and remove this flag immediately."); ++ LOGGER.warn("You have used the Paper command line EULA agreement flag."); ++ LOGGER.warn("By using this setting you are indicating your agreement to Mojang's EULA (https://aka.ms/MinecraftEULA)."); ++ LOGGER.warn("If you do not agree to the above EULA please stop your server and remove this flag immediately."); + } + if (!eula.hasAgreedToEULA() && !eulaAgreed) { -+ // Spigot end ++ // Paper end - eula system property LOGGER.info("You need to agree to the EULA in order to run the server. Go to eula.txt for more info."); return; }