From 37015f4fad97a9b2a91333b38bc22c4b6f5909e7 Mon Sep 17 00:00:00 2001 From: PondWader <66561610+PondWader@users.noreply.github.com> Date: Tue, 18 Jul 2023 18:32:27 +0100 Subject: [PATCH] damage_event packet fix (#738) --- data/pc/1.19.4/protocol.json | 10 ++-------- data/pc/1.20/protocol.json | 10 ++-------- 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/data/pc/1.19.4/protocol.json b/data/pc/1.19.4/protocol.json index 9b470a67e..59bfeeff7 100644 --- a/data/pc/1.19.4/protocol.json +++ b/data/pc/1.19.4/protocol.json @@ -5378,17 +5378,11 @@ }, { "name": "sourceCauseId", - "type": [ - "option", - "varint" - ] + "type": "varint" }, { "name": "sourceDirectId", - "type": [ - "option", - "varint" - ] + "type": "varint" }, { "name": "sourcePosition", diff --git a/data/pc/1.20/protocol.json b/data/pc/1.20/protocol.json index 590f2324a..d83a49c10 100644 --- a/data/pc/1.20/protocol.json +++ b/data/pc/1.20/protocol.json @@ -5357,17 +5357,11 @@ }, { "name": "sourceCauseId", - "type": [ - "option", - "varint" - ] + "type": "varint" }, { "name": "sourceDirectId", - "type": [ - "option", - "varint" - ] + "type": "varint" }, { "name": "sourcePosition",