20 lines
1010 B
Diff
20 lines
1010 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Blast-MC <cjblanton2@gmail.com>
|
|
Date: Thu, 23 Mar 2023 18:18:43 -0400
|
|
Subject: [PATCH] Make SynchedEntityData#packAll Public
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/network/syncher/SynchedEntityData.java b/src/main/java/net/minecraft/network/syncher/SynchedEntityData.java
|
|
index ff7ba7a161cfed7521354bc6e3f21ba0f17f3760..8d17e503894858b9e195d70a74513dee60aa3ec3 100644
|
|
--- a/src/main/java/net/minecraft/network/syncher/SynchedEntityData.java
|
|
+++ b/src/main/java/net/minecraft/network/syncher/SynchedEntityData.java
|
|
@@ -263,7 +263,7 @@ public class SynchedEntityData {
|
|
// We need to pack all as we cannot rely on "non default values" or "dirty" ones.
|
|
// Because these values can possibly be desynced on the client.
|
|
@Nullable
|
|
- private List<SynchedEntityData.DataValue<?>> packAll() {
|
|
+ public List<SynchedEntityData.DataValue<?>> packAll() {
|
|
if (this.isEmpty()) {
|
|
return null;
|
|
}
|