Skip to content

Commit

Permalink
[ci skip] update core adapters
Browse files Browse the repository at this point in the history
  • Loading branch information
NonSwag committed Nov 8, 2024
1 parent b27a9d0 commit 324b8b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ java {
}

group = "net.thenextlvl.worlds"
version = "2.0.2"
version = "2.0.3"

repositories {
mavenCentral()
Expand All @@ -27,7 +27,7 @@ dependencies {

implementation("net.thenextlvl.core:nbt:2.2.14")
implementation("net.thenextlvl.core:files:2.0.0")
implementation("net.thenextlvl.core:adapters:1.0.9")
implementation("net.thenextlvl.core:adapters:2.0.0")

annotationProcessor("org.projectlombok:lombok:1.18.34")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public JsonObject serialize() {

private static final Gson gson = new GsonBuilder()
.registerTypeAdapter(Structure.class, new StructureTypeAdapter())
.registerTypeAdapter(Material.class, MaterialAdapter.NotNull.INSTANCE)
.registerTypeAdapter(Material.class, MaterialAdapter.instance())
.registerTypeAdapter(Biome.class, new BiomeTypeAdapter())
.setPrettyPrinting()
.create();
Expand Down

0 comments on commit 324b8b2

Please sign in to comment.