From 1275ff422f0b35fb7520301988b549c3f7c0930d Mon Sep 17 00:00:00 2001 From: zontreck Date: Tue, 23 Apr 2024 20:51:16 -0700 Subject: [PATCH] Add missing NBT entry in the server config --- gradle.properties | 2 +- .../zontreck/libzontreck/config/sections/DatabaseSection.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 3015eaf..23d1db4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -53,7 +53,7 @@ mod_name=Zontreck's Library Mod # The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default. mod_license=GPLv3 # The mod version. See https://semver.org/ -mod_version=1201.13.042324.2018 +mod_version=1201.13.042324.2051 # The group ID for the mod. It is only important when publishing as an artifact to a Maven repository. # This should match the base package used for the mod sources. # See https://maven.apache.org/guides/mini/guide-naming-conventions.html diff --git a/src/main/java/dev/zontreck/libzontreck/config/sections/DatabaseSection.java b/src/main/java/dev/zontreck/libzontreck/config/sections/DatabaseSection.java index 9787ecd..64e5caf 100644 --- a/src/main/java/dev/zontreck/libzontreck/config/sections/DatabaseSection.java +++ b/src/main/java/dev/zontreck/libzontreck/config/sections/DatabaseSection.java @@ -86,6 +86,8 @@ public class DatabaseSection tag.putString(TAG_PASSWORD, password); tag.putString(TAG_HOST, host); tag.putString(TAG_DATABASE, database); + tag.putInt(TAG_VERSION, version); + return tag; } }