Skip to content

Commit

Permalink
migrated pre-hard-fork patch 0001-Build-changes.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
TrainmasterHD committed Jan 5, 2025
1 parent f8720b1 commit ab4661e
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 61 deletions.
20 changes: 20 additions & 0 deletions cheetah-server/build.gradle.kts.patch
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,23 @@
implementation("ca.spottedleaf:concurrentutil:0.0.2")
implementation("org.jline:jline-terminal-ffm:3.27.1") // use ffm on java 22+
implementation("org.jline:jline-terminal-jni:3.27.1") // fall back to jni on java 21
@@ -192,14 +_,14 @@
val gitBranch = git.exec(providers, "rev-parse", "--abbrev-ref", "HEAD").get().trim()
attributes(
"Main-Class" to "org.bukkit.craftbukkit.Main",
- "Implementation-Title" to "Paper",
+ "Implementation-Title" to "Cheetah", // Cheetah - Build changes
"Implementation-Version" to implementationVersion,
"Implementation-Vendor" to date,
- "Specification-Title" to "Paper",
+ "Specification-Title" to "Cheetah", // Cheetah - Build changes
"Specification-Version" to project.version,
- "Specification-Vendor" to "Paper Team",
- "Brand-Id" to "papermc:paper",
- "Brand-Name" to "Paper",
+ "Specification-Vendor" to "Cheetah Team", // Cheetah - Build changes
+ "Brand-Id" to "gommehdnet:cheetah", // Cheetah - Build changes
+ "Brand-Name" to "Cheetah", // Cheetah - Build changes
"Build-Number" to (build ?: ""),
"Build-Time" to buildTime.toString(),
"Git-Branch" to gitBranch,
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- a/src/main/java/org/bukkit/craftbukkit/util/Versioning.java
+++ b/src/main/java/org/bukkit/craftbukkit/util/Versioning.java
@@ -11,7 +_,7 @@
public static String getBukkitVersion() {
String result = "Unknown-Version";

- InputStream stream = Bukkit.class.getClassLoader().getResourceAsStream("META-INF/maven/io.papermc.paper/paper-api/pom.properties");
+ InputStream stream = Bukkit.class.getClassLoader().getResourceAsStream("META-INF/maven/net.gommehd.cheetah/cheetah-api/pom.properties"); // Cheetah - Build changes
Properties properties = new Properties();

if (stream != null) {
61 changes: 0 additions & 61 deletions patches/server/0001-Build-changes.patch

This file was deleted.

0 comments on commit ab4661e

Please sign in to comment.