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 bf6a70a69bb695ec1a202cd1e863c468329f80fc..c3f46cba9160b5f1b1d3c882d18f7761a3ee2fdf 100644
|
|
--- a/src/main/java/net/minecraft/network/syncher/SynchedEntityData.java
|
|
+++ b/src/main/java/net/minecraft/network/syncher/SynchedEntityData.java
|
|
@@ -267,7 +267,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;
|
|
}
|