forked from GeyserMC/Geyser
Merge pull request #44 from WesleyVanNeck/patch-4
fix that unknown Configuration crashes geyser
This commit is contained in:
commit
d4e3e89efa
1 changed files with 3 additions and 1 deletions
|
@ -25,11 +25,13 @@
|
||||||
|
|
||||||
package org.geysermc.connector.configuration;
|
package org.geysermc.connector.configuration;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
|
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||||
@Getter
|
@Getter
|
||||||
public class GeyserConfiguration {
|
public class GeyserConfiguration {
|
||||||
|
|
||||||
|
@ -51,4 +53,4 @@ public class GeyserConfiguration {
|
||||||
private int generalThreadPool;
|
private int generalThreadPool;
|
||||||
|
|
||||||
private MetricInfo metrics;
|
private MetricInfo metrics;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue