mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-17 08:27:43 +01:00
26 lines
1017 B
Diff
26 lines
1017 B
Diff
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.
|
|
*
|