Skip to content

Commit

Permalink
Merge pull request #60 from TheNextLvl-net/deps
Browse files Browse the repository at this point in the history
Updated core adapters
  • Loading branch information
NonSwag authored Nov 8, 2024
2 parents b27a9d0 + 324b8b2 commit 7d6ec3b
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 7d6ec3b

Please sign in to comment.