Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-28 00:50:13 +01:00
Null check input serializer version
Fixes ViaVersion/ViaBackwards#896
Dieser Commit ist enthalten in:
Ursprung
1a9cda0579
Commit
1c339e8b54
@ -360,7 +360,9 @@ public class ComponentRewriter<C extends ClientboundPacketType> implements com.v
|
|||||||
handleShowItem(connection, contentsTag, componentsTag);
|
handleShowItem(connection, contentsTag, componentsTag);
|
||||||
if (componentsTag != null) {
|
if (componentsTag != null) {
|
||||||
handleContainerContents(connection, componentsTag);
|
handleContainerContents(connection, componentsTag);
|
||||||
|
if (inputSerializerVersion() != null) {
|
||||||
handleWrittenBookContents(connection, componentsTag);
|
handleWrittenBookContents(connection, componentsTag);
|
||||||
|
}
|
||||||
|
|
||||||
handleItemArrayContents(connection, componentsTag, "bundle_contents");
|
handleItemArrayContents(connection, componentsTag, "bundle_contents");
|
||||||
handleItemArrayContents(connection, componentsTag, "charged_projectiles");
|
handleItemArrayContents(connection, componentsTag, "charged_projectiles");
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren