Skip to content

Commit

Permalink
CDN url may be null
Browse files Browse the repository at this point in the history
  • Loading branch information
Alemiz112 committed Oct 21, 2024
1 parent 6633f00 commit 6f0e88e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public void deserialize(ByteBuf buffer, BedrockCodecHelper helper, ResourcePacks
@Override
public void writeEntry(ByteBuf buffer, BedrockCodecHelper helper, ResourcePacksInfoPacket.Entry entry, boolean resource) {
super.writeEntry(buffer, helper, entry, resource);
helper.writeString(buffer, entry.getCdnUrl());
helper.writeString(buffer, entry.getCdnUrl() == null ? "" : entry.getCdnUrl());
}

@Override
Expand Down

0 comments on commit 6f0e88e

Please sign in to comment.