diff options
author | Spottedleaf <[email protected]> | 2023-06-07 22:25:38 -0700 |
---|---|---|
committer | Spottedleaf <[email protected]> | 2023-06-07 22:26:06 -0700 |
commit | 74ad522fc5818b84772c7808a27227f4ac84df38 (patch) | |
tree | e2b6cea9756d5b59a821b76f56777e35e7ea9844 /patches/server/0044-Configurable-end-credits.patch | |
parent | 819facd7c4343f6783d1a4ee84345d5b99ef47ce (diff) | |
download | Paper-74ad522fc5818b84772c7808a27227f4ac84df38.tar.gz Paper-74ad522fc5818b84772c7808a27227f4ac84df38.zip |
Rebase chunk patches
Diffstat (limited to 'patches/server/0044-Configurable-end-credits.patch')
-rw-r--r-- | patches/server/0044-Configurable-end-credits.patch | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/patches/server/0044-Configurable-end-credits.patch b/patches/server/0044-Configurable-end-credits.patch deleted file mode 100644 index 292210bb6d..0000000000 --- a/patches/server/0044-Configurable-end-credits.patch +++ /dev/null @@ -1,18 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: DoctorDark <[email protected]> -Date: Wed, 16 Mar 2016 02:21:39 -0500 -Subject: [PATCH] Configurable end credits - - -diff --git a/src/main/java/net/minecraft/server/level/ServerPlayer.java b/src/main/java/net/minecraft/server/level/ServerPlayer.java -index 32ef9f1ae0c35e927133572ebb6fbf50b0729a63..e42c07dfba3c18464f1f8e35fbd764812d8c4e50 100644 ---- a/src/main/java/net/minecraft/server/level/ServerPlayer.java -+++ b/src/main/java/net/minecraft/server/level/ServerPlayer.java -@@ -1066,6 +1066,7 @@ public class ServerPlayer extends Player { - this.unRide(); - this.serverLevel().removePlayerImmediately(this, Entity.RemovalReason.CHANGED_DIMENSION); - if (!this.wonGame) { -+ if (this.level().paperConfig().misc.disableEndCredits) this.seenCredits = true; // Paper - Toggle to always disable end credits - this.wonGame = true; - this.connection.send(new ClientboundGameEventPacket(ClientboundGameEventPacket.WIN_GAME, this.seenCredits ? 0.0F : 1.0F)); - this.seenCredits = true; |