fix that unknown Configuration crashes geyser

This commit is contained in:
WesleyVanNeck 2019-09-29 20:05:41 +02:00 committed by GitHub
parent 06125238fb
commit c8404d15c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}
}