forked from GeyserMC/Geyser
fix that unknown Configuration crashes geyser
This commit is contained in:
parent
06125238fb
commit
c8404d15c1
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue