From c2447a2967fb250d80039f93b0c3d61932847726 Mon Sep 17 00:00:00 2001 From: Telesphoreo Date: Sat, 26 Mar 2022 23:24:28 -0500 Subject: [PATCH] Delete 0001-Add-getCommit-method-to-Bukkit.patch --- .../0001-Add-getCommit-method-to-Bukkit.patch | 24 ------------------- 1 file changed, 24 deletions(-) delete mode 100644 patches/api/0001-Add-getCommit-method-to-Bukkit.patch diff --git a/patches/api/0001-Add-getCommit-method-to-Bukkit.patch b/patches/api/0001-Add-getCommit-method-to-Bukkit.patch deleted file mode 100644 index b0eaf78..0000000 --- a/patches/api/0001-Add-getCommit-method-to-Bukkit.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Telesphoreo -Date: Sat, 26 Mar 2022 23:03:39 -0500 -Subject: [PATCH] Add getCommit() method to Bukkit - - -diff --git a/src/main/java/org/bukkit/Bukkit.java b/src/main/java/org/bukkit/Bukkit.java -index c551010f84ac5d3ebc626c253a8f8282924152c4..80f19df4262958315d50df5104a8fea6d0b33094 100644 ---- a/src/main/java/org/bukkit/Bukkit.java -+++ b/src/main/java/org/bukkit/Bukkit.java -@@ -108,6 +108,13 @@ public final class Bukkit { - // Paper end - } - -+ // Scissors start - Allow getting git commit -+ public static String getCommit() { -+ Map attributes = JarManifests.MANIFEST_MAP; -+ return attributes.get("Git-Commit"); -+ } -+ // Scissors end -+ - /** - * Gets the name of this server implementation. - *