Yatopia/patches/server/0017-EMC-Accept-the-EULA.patch

26 lines
1.3 KiB
Diff
Raw Normal View History

2020-04-27 00:29:45 +02:00
From 340e04b52f384f9d51e4836b9d83b0bb602b9cfb Mon Sep 17 00:00:00 2001
2020-02-26 20:12:29 +01:00
From: Aikar <aikar@aikar.co>
Date: Fri, 5 Sep 2014 23:04:54 -0400
Subject: [PATCH] EMC Accept the EULA
Starlis LLC, the owner of Empire Minecraft, accepts the Minecraft EULA with this commit.
---
src/main/java/net/minecraft/server/MinecraftServer.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
2020-04-27 00:29:45 +02:00
index ba5e641a9e..dd54ea9ff7 100644
2020-02-26 20:12:29 +01:00
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
2020-04-27 00:29:45 +02:00
@@ -1452,6 +1452,7 @@ public abstract class MinecraftServer extends IAsyncTaskHandlerReentrant<TickTas
2020-02-26 20:12:29 +01:00
System.err.println( "If you do not agree to the above EULA please stop your server and remove this flag immediately." );
}
// Spigot End
+ eulaAgreed = true; // EMC - Starlis LLC agrees to Mojangs EULA since we don't really have a choice now do we?
if (!eula.a() && !eulaAgreed) { // Spigot
MinecraftServer.LOGGER.info("You need to agree to the EULA in order to run the server. Go to eula.txt for more info.");
return;
--
2.25.1.windows.1