We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afe9068 commit 0b6c413Copy full SHA for 0b6c413
src/main/java/com/lx862/svrutil/feature/TextOverrideFeature.java
@@ -33,7 +33,7 @@ public void readConfig(JsonObject jsonObject) {
33
public JsonObject writeConfig() {
34
JsonObject jsonObject = super.writeConfig();
35
if(whitelistedMessage == null) {
36
- jsonObject.add("whitelistedMessage", JsonNull.INSTANCE);
+ jsonObject.addProperty("whitelistedMessage", "You are not whitelisted on the server.");
37
} else {
38
jsonObject.addProperty("whitelistedMessage", Text.Serializer.toJson(whitelistedMessage));
39
}
0 commit comments