From 747628f40c27f5ad6890510c13c4413eed94a164 Mon Sep 17 00:00:00 2001 From: Thinkofdeath Date: Wed, 9 Apr 2014 21:01:33 +0100 Subject: [PATCH] Remove @RequiredArgsConstructor from PlayerInfoSerializer as the javadoc fails to build with it --- .../main/java/net/md_5/bungee/PlayerInfoSerializer.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/proxy/src/main/java/net/md_5/bungee/PlayerInfoSerializer.java b/proxy/src/main/java/net/md_5/bungee/PlayerInfoSerializer.java index 9cb57762..8b67cd66 100644 --- a/proxy/src/main/java/net/md_5/bungee/PlayerInfoSerializer.java +++ b/proxy/src/main/java/net/md_5/bungee/PlayerInfoSerializer.java @@ -7,18 +7,21 @@ import com.google.gson.JsonObject; import com.google.gson.JsonParseException; import com.google.gson.JsonSerializationContext; import com.google.gson.JsonSerializer; -import lombok.RequiredArgsConstructor; import net.md_5.bungee.api.ServerPing; import java.lang.reflect.Type; import java.util.UUID; -@RequiredArgsConstructor public class PlayerInfoSerializer implements JsonSerializer, JsonDeserializer { private final int protocol; + public PlayerInfoSerializer(int protocol) + { + this.protocol = protocol; + } + @Override public ServerPing.PlayerInfo deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context) throws JsonParseException {