Merge pull request #44 from WesleyVanNeck/patch-4

fix that unknown Configuration crashes geyser
This commit is contained in:
Redned 2019-09-29 13:07:40 -05:00 committed by GitHub
commit d4e3e89efa
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;
}
}