Yatopia/patches/server/0017-EMC-Accept-the-EULA.patch
2020-05-07 16:59:29 +02:00

26 lines
1.3 KiB
Diff

From c662a6254e57fbb97c99a1f03d5772e10db9d007 Mon Sep 17 00:00:00 2001
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
index a7adcb9f09..6e9ff069e3 100644
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
@@ -1460,6 +1460,7 @@ public abstract class MinecraftServer extends IAsyncTaskHandlerReentrant<TickTas
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