forked from PurpurMC/Purpur
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
348 changed files
with
2,345 additions
and
2,020 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,22 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: Kevin Raneri <[email protected]> | ||
Date: Tue, 9 Nov 2021 14:01:56 -0500 | ||
From: AlphaKR93 <[email protected]> | ||
Date: Sat, 1 Jun 2024 14:14:53 +0900 | ||
Subject: [PATCH] Pufferfish API Changes | ||
|
||
Pufferfish | ||
Copyright (C) 2022 Pufferfish Studios LLC | ||
|
||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
|
||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
|
||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
diff --git a/build.gradle.kts b/build.gradle.kts | ||
index 04853c43b99951bf0d4c96ef73724625bdaf018f..9164120d299d062c62529a7ef74eac0ded367993 100644 | ||
index fd39ed209b20c927054b8482c400beeeeab460a3..1336685fde70c4a88a1fb591cdfcd781a8f06d0b 100644 | ||
--- a/build.gradle.kts | ||
+++ b/build.gradle.kts | ||
@@ -51,6 +51,7 @@ dependencies { | ||
@@ -52,6 +52,7 @@ dependencies { | ||
apiAndDocs("net.kyori:adventure-text-logger-slf4j") | ||
api("org.apache.logging.log4j:log4j-api:$log4jVersion") | ||
api("org.slf4j:slf4j-api:$slf4jVersion") | ||
+ api("io.sentry:sentry:5.4.0") // Pufferfish | ||
|
||
implementation("org.ow2.asm:asm:9.7") | ||
implementation("org.ow2.asm:asm-commons:9.7") | ||
@@ -109,6 +110,13 @@ val generateApiVersioningFile by tasks.registering { | ||
@@ -130,6 +131,13 @@ val generateApiVersioningFile by tasks.registering { | ||
} | ||
} | ||
|
||
|
@@ -388,6 +373,24 @@ index 0000000000000000000000000000000000000000..ae2464920c9412ac90b819a540ee58be | |
+ } | ||
+ | ||
+} | ||
diff --git a/src/main/java/io/papermc/paper/ServerBuildInfo.java b/src/main/java/io/papermc/paper/ServerBuildInfo.java | ||
index 9df9d09aa477d4cd3c496ba0933c816df1ef0964..ad81341bdd1eb73554cd24f27ac5d655d89db791 100644 | ||
--- a/src/main/java/io/papermc/paper/ServerBuildInfo.java | ||
+++ b/src/main/java/io/papermc/paper/ServerBuildInfo.java | ||
@@ -17,6 +17,13 @@ public interface ServerBuildInfo { | ||
* The brand id for Paper. | ||
*/ | ||
Key BRAND_PAPER_ID = Key.key("papermc", "paper"); | ||
+ | ||
+ // Pufferfish start | ||
+ /** | ||
+ * The brand id for Paper. | ||
+ */ | ||
+ Key BRAND_PUFFERFISH_ID = Key.key("pufferfishgg", "pufferfish"); | ||
+ // Pufferfish end | ||
|
||
/** | ||
* Gets the {@code ServerBuildInfo}. | ||
diff --git a/src/main/java/org/bukkit/map/MapPalette.java b/src/main/java/org/bukkit/map/MapPalette.java | ||
index c80faa079eca1564847070f0338fc98024639829..e632d51d3487eb4807243b6705999ad124466bf5 100644 | ||
--- a/src/main/java/org/bukkit/map/MapPalette.java | ||
|
@@ -426,10 +429,10 @@ index c80faa079eca1564847070f0338fc98024639829..e632d51d3487eb4807243b6705999ad1 | |
} | ||
|
||
diff --git a/src/main/java/org/bukkit/plugin/SimplePluginManager.java b/src/main/java/org/bukkit/plugin/SimplePluginManager.java | ||
index fc2dae69165776d08274e34a69962cc70445f411..899d67fa782fac639fe7fb096e05c551d75bd647 100644 | ||
index 07a9c9e254188c251165ca84c8e961fccda01175..5dc64d8c9aeae612fd31af0673f3530a9e777dfc 100644 | ||
--- a/src/main/java/org/bukkit/plugin/SimplePluginManager.java | ||
+++ b/src/main/java/org/bukkit/plugin/SimplePluginManager.java | ||
@@ -584,7 +584,9 @@ public final class SimplePluginManager implements PluginManager { | ||
@@ -596,7 +596,9 @@ public final class SimplePluginManager implements PluginManager { | ||
|
||
// Paper start | ||
private void handlePluginException(String msg, Throwable ex, Plugin plugin) { | ||
|
@@ -439,7 +442,7 @@ index fc2dae69165776d08274e34a69962cc70445f411..899d67fa782fac639fe7fb096e05c551 | |
callEvent(new com.destroystokyo.paper.event.server.ServerExceptionEvent(new com.destroystokyo.paper.exception.ServerPluginEnableDisableException(msg, ex, plugin))); | ||
} | ||
// Paper end | ||
@@ -654,9 +656,11 @@ public final class SimplePluginManager implements PluginManager { | ||
@@ -666,9 +668,11 @@ public final class SimplePluginManager implements PluginManager { | ||
)); | ||
} | ||
} catch (Throwable ex) { | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.