9
0
mirror of https://github.com/BX-Team/DivineMC.git synced 2025-12-22 00:09:15 +00:00

update upstream

This commit is contained in:
NONPLAYT
2025-01-14 18:34:27 +03:00
parent 19381f1623
commit c3c3cc7987
18 changed files with 70 additions and 86 deletions

View File

@@ -1,6 +1,6 @@
--- a/net/minecraft/server/level/ServerEntity.java
+++ b/net/minecraft/server/level/ServerEntity.java
@@ -407,7 +_,10 @@
@@ -408,7 +_,10 @@
}
if (this.entity instanceof LivingEntity) {
@@ -12,7 +12,7 @@
if (!attributesToSync.isEmpty()) {
// CraftBukkit start - Send scaled max health
if (this.entity instanceof ServerPlayer serverPlayer) {
@@ -417,7 +_,7 @@
@@ -418,7 +_,7 @@
this.broadcastAndSend(new ClientboundUpdateAttributesPacket(this.entity.getId(), attributesToSync));
}