Files
Shiroha/shiroha-api/paper-patches/features/0001-Rebrand-to-Shiroha.patch
T

29 lines
957 B
Diff
Raw Normal View History

2026-07-09 00:03:09 +08:00
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: MrHua269 <mrhua269@gmail.com>
Date: Wed, 8 Jul 2026 18:15:21 +0800
2026-07-14 11:32:51 +08:00
Subject: [PATCH] Rebrand to Shiroha
2026-07-09 00:03:09 +08:00
diff --git a/src/main/java/io/papermc/paper/ServerBuildInfo.java b/src/main/java/io/papermc/paper/ServerBuildInfo.java
2026-07-14 18:56:51 +08:00
index 652ff54e7c50412503725d628bfe72ed03059790..add32abb29a291e77fe4d74a6d9f10344897ab26 100644
2026-07-09 00:03:09 +08:00
--- a/src/main/java/io/papermc/paper/ServerBuildInfo.java
+++ b/src/main/java/io/papermc/paper/ServerBuildInfo.java
@@ -19,6 +19,17 @@ public interface ServerBuildInfo {
*/
Key BRAND_PAPER_ID = Key.key("papermc", "paper");
2026-07-14 11:32:51 +08:00
+ // Shiroha start
2026-07-09 00:03:09 +08:00
+ /**
+ * The brand id for folia
+ */
+ Key BRAND_FOLIA_ID = Key.key("papermc", "folia");
+ /**
2026-07-14 11:32:51 +08:00
+ * The brand id for Shiroha.
2026-07-09 00:03:09 +08:00
+ */
2026-07-14 15:09:17 +08:00
+ Key BRAND_SHIROHA_ID = Key.key("nanachiyo0721", "shiroha");
2026-07-14 11:32:51 +08:00
+ // Shiroha end
2026-07-09 00:03:09 +08:00
+
/**
* Gets the {@code ServerBuildInfo}.
*