mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-19 17:37:42 +01:00
Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly Paper Changes: PaperMC/Paper@2040c1e Player Flying Fall Damage API (#5357) PaperMC/Paper@fa42c68 Expose pre-collision moving velocity to VehicleBlockCollisionEvent (#8457) PaperMC/Paper@90750a6 Rework filtering spawn egg and tile entity nbt config (#6613)
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 9246df99c4247e361eaa27ea266981b7fec0c14b..0f1d925f9c338427e3fb8cdbbcd37569fc3b30ad 100644
|
||||
--- a/src/main/java/org/bukkit/entity/Player.java
|
||||
+++ b/src/main/java/org/bukkit/entity/Player.java
|
||||
@@ -2428,6 +2428,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