26 lines
1.3 KiB
Diff
26 lines
1.3 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Blast-MC <cjblanton2@gmail.com>
|
|
Date: Thu, 25 Aug 2022 20:09:40 -0400
|
|
Subject: [PATCH] Disable set respawn message
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/level/ServerPlayer.java b/src/main/java/net/minecraft/server/level/ServerPlayer.java
|
|
index cbcc4141c904360127780d6441a960842e661ef0..0abb7d69f534089b06d7221327a9be282bb6006c 100644
|
|
--- a/src/main/java/net/minecraft/server/level/ServerPlayer.java
|
|
+++ b/src/main/java/net/minecraft/server/level/ServerPlayer.java
|
|
@@ -2220,10 +2220,10 @@ public class ServerPlayer extends Player {
|
|
angle = (float) event.getLocation().getYaw();
|
|
forced = event.isForced();
|
|
// Paper end
|
|
-
|
|
- if (event.willNotifyPlayer() && event.getNotification() != null) { // Paper
|
|
- this.sendSystemMessage(PaperAdventure.asVanilla(event.getNotification())); // Paper
|
|
- }
|
|
+ // Parchment
|
|
+// if (event.willNotifyPlayer() && event.getNotification() != null) { // Paper
|
|
+// this.sendSystemMessage(PaperAdventure.asVanilla(event.getNotification())); // Paper
|
|
+// }
|
|
|
|
this.respawnPosition = pos;
|
|
this.respawnDimension = dimension;
|