From c8404d15c1b5de60d7e3f37ae1be01ae03c5b7a5 Mon Sep 17 00:00:00 2001 From: WesleyVanNeck Date: Sun, 29 Sep 2019 20:05:41 +0200 Subject: [PATCH] fix that unknown Configuration crashes geyser --- .../geysermc/connector/configuration/GeyserConfiguration.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/connector/src/main/java/org/geysermc/connector/configuration/GeyserConfiguration.java b/connector/src/main/java/org/geysermc/connector/configuration/GeyserConfiguration.java index d90f2576..5962ab08 100644 --- a/connector/src/main/java/org/geysermc/connector/configuration/GeyserConfiguration.java +++ b/connector/src/main/java/org/geysermc/connector/configuration/GeyserConfiguration.java @@ -25,11 +25,13 @@ package org.geysermc.connector.configuration; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Getter; import java.util.Map; +@JsonIgnoreProperties(ignoreUnknown = true) @Getter public class GeyserConfiguration { @@ -51,4 +53,4 @@ public class GeyserConfiguration { private int generalThreadPool; private MetricInfo metrics; -} \ No newline at end of file +}