Archiviert
13
0
Dieses Repository wurde am 2024-12-25 archiviert. Du kannst Dateien ansehen und es klonen, aber nicht pushen oder Issues/Pull-Requests öffnen.
Paper-Old/Spigot-API-Patches/0184-Temp-track-ver-1.14-for-version-command.patch
2019-05-07 16:45:01 +01:00

23 Zeilen
994 B
Diff

From a5beefed41fd637dfed924034905e153109a350b Mon Sep 17 00:00:00 2001
From: Shane Freeder <theboyetronic@gmail.com>
Date: Tue, 7 May 2019 16:44:03 +0100
Subject: [PATCH] Temp track ver/1.14 for version command
diff --git a/src/main/java/org/bukkit/command/defaults/VersionCommand.java b/src/main/java/org/bukkit/command/defaults/VersionCommand.java
index 27f0cadd9..ece8d1c8a 100644
--- a/src/main/java/org/bukkit/command/defaults/VersionCommand.java
+++ b/src/main/java/org/bukkit/command/defaults/VersionCommand.java
@@ -268,7 +268,7 @@ public class VersionCommand extends BukkitCommand {
return getFromJenkins(currentVer);
} catch (NumberFormatException ex) {
verInfo = verInfo.replace("\"", "");
- return getFromRepo("PaperMC/Paper", "master", verInfo);
+ return getFromRepo("PaperMC/Paper", "ver/1.14", verInfo); // Just for now
}
/*
BufferedReader reader = Resources.asCharSource(
--
2.21.0