You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -73,6 +75,9 @@ public Item handleItemToClient(final UserConnection connection, final Item item)
73
75
returnitem;
74
76
}
75
77
78
+
finalItemHasherBaseitemHasher = itemHasher(connection); // get the original hashed item and store it later if there are any changes that could affect the data hashes
storeOriginalHashedItem(item, itemHasher, originalHashedItem); // has to be called AFTER all modifications - override updateItemDataComponentsToClient instead of this method if needed
88
94
returnitem;
89
95
}
90
96
@@ -115,7 +121,8 @@ public Item handleItemToClient(final UserConnection connection, final Item item)
storeOriginalHashedItem(item, itemHasher, originalHashedItem); // has to be called AFTER all modifications - override updateItemDataComponentsToClient instead of this method if needed
119
126
returnitem;
120
127
}
121
128
@@ -141,8 +148,8 @@ public Item handleItemToServer(final UserConnection connection, final Item item)
Copy file name to clipboardExpand all lines: common/src/main/java/com/viaversion/viabackwards/protocol/v1_20_5to1_20_3/rewriter/BlockItemPacketRewriter1_20_5.java
0 commit comments