2024-06-13 19:12:48 +02:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
|
From: DoctorDark <doctordark11@gmail.com>
|
|
|
|
Date: Wed, 16 Mar 2016 02:21:39 -0500
|
|
|
|
Subject: [PATCH] Configurable end credits
|
|
|
|
|
|
|
|
|
2024-08-14 21:26:38 +02:00
|
|
|
diff --git a/src/main/java/net/minecraft/world/level/block/EndPortalBlock.java b/src/main/java/net/minecraft/world/level/block/EndPortalBlock.java
|
2024-06-13 19:12:48 +02:00
|
|
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
2024-08-14 21:26:38 +02:00
|
|
|
--- a/src/main/java/net/minecraft/world/level/block/EndPortalBlock.java
|
|
|
|
+++ b/src/main/java/net/minecraft/world/level/block/EndPortalBlock.java
|
|
|
|
@@ -0,0 +0,0 @@ public class EndPortalBlock extends BaseEntityBlock implements Portal {
|
|
|
|
if (!world.isClientSide && world.dimension() == Level.END && entity instanceof ServerPlayer) {
|
|
|
|
ServerPlayer entityplayer = (ServerPlayer) entity;
|
|
|
|
|
|
|
|
+ if (world.paperConfig().misc.disableEndCredits) entityplayer.seenCredits = true; // Paper - Option to disable end credits
|
|
|
|
if (!entityplayer.seenCredits) {
|
|
|
|
entityplayer.showEndCredits();
|
|
|
|
return;
|