mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-21 10:27:44 +01:00
Update to 1.19.3!
This commit is contained in:
25
patches/api/0050-add-Player-showCreditScreen.patch
Normal file
25
patches/api/0050-add-Player-showCreditScreen.patch
Normal file
@@ -0,0 +1,25 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: granny <granny@purpurmc.org>
|
||||
Date: Fri, 26 Aug 2022 21:45:01 -0700
|
||||
Subject: [PATCH] add Player#showCreditScreen
|
||||
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
|
||||
index d02953cd68f7161eba76752dfe1d3282367f2dfd..a1e8bee97d0eae927e2a3ad66592d6c78acb6471 100644
|
||||
--- a/src/main/java/org/bukkit/entity/Player.java
|
||||
+++ b/src/main/java/org/bukkit/entity/Player.java
|
||||
@@ -2409,6 +2409,14 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
|
||||
*/
|
||||
public void showDemoScreen();
|
||||
|
||||
+ /**
|
||||
+ * Shows the credits to the player, this screen is normally only seen after
|
||||
+ * going into the end portal for the first time.
|
||||
+ * <br>
|
||||
+ * Servers can modify the text on this screen using a resource pack.
|
||||
+ */
|
||||
+ public void showCreditScreen();
|
||||
+
|
||||
/**
|
||||
* Gets whether the player has the "Allow Server Listings" setting enabled.
|
||||
*
|
||||
Reference in New Issue
Block a user