Skip to content

Commit

Permalink
Make ComponentHolder#serialize static
Browse files Browse the repository at this point in the history
  • Loading branch information
jonesdevelopment committed Dec 20, 2024
1 parent 46c5853 commit cda6b39
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public ComponentHolder(final @NotNull Component component) {
}

// https://github.com/PaperMC/Velocity/blob/dev/3.0.0/proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/ComponentHolder.java
private BinaryTag serialize(final @NotNull JsonElement json) {
private static BinaryTag serialize(final @NotNull JsonElement json) {
if (json instanceof JsonPrimitive) {
final JsonPrimitive jsonPrimitive = (JsonPrimitive) json;

Expand Down

0 comments on commit cda6b39

Please sign in to comment.