mirror of
https://github.com/AtlasMediaGroup/Scissors.git
synced 2024-11-14 19:34:54 -05:00
Remove API patches
This commit is contained in:
parent
6950f39d8c
commit
864f0915fd
2 changed files with 0 additions and 49 deletions
|
@ -1,24 +0,0 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Telesphoreo <me@telesphoreo.me>
|
||||
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<String, String> attributes = JarManifests.MANIFEST_MAP;
|
||||
+ return attributes.get("Git-Commit");
|
||||
+ }
|
||||
+ // Scissors end
|
||||
+
|
||||
/**
|
||||
* Gets the name of this server implementation.
|
||||
*
|
|
@ -1,25 +0,0 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Telesphoreo <me@telesphoreo.me>
|
||||
Date: Sat, 26 Mar 2022 23:23:25 -0500
|
||||
Subject: [PATCH] Revert "Add getCommit() method to Bukkit"
|
||||
|
||||
This reverts commit 328e6237e80dce4ee1b3918f794615f253577981.
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/Bukkit.java b/src/main/java/org/bukkit/Bukkit.java
|
||||
index 80f19df4262958315d50df5104a8fea6d0b33094..c551010f84ac5d3ebc626c253a8f8282924152c4 100644
|
||||
--- a/src/main/java/org/bukkit/Bukkit.java
|
||||
+++ b/src/main/java/org/bukkit/Bukkit.java
|
||||
@@ -108,13 +108,6 @@ public final class Bukkit {
|
||||
// Paper end
|
||||
}
|
||||
|
||||
- // Scissors start - Allow getting git commit
|
||||
- public static String getCommit() {
|
||||
- Map<String, String> attributes = JarManifests.MANIFEST_MAP;
|
||||
- return attributes.get("Git-Commit");
|
||||
- }
|
||||
- // Scissors end
|
||||
-
|
||||
/**
|
||||
* Gets the name of this server implementation.
|
||||
*
|
Loading…
Reference in a new issue