diff --git a/gradle.properties b/gradle.properties index 2c3a44c..a24c98e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,7 +3,7 @@ org.gradle.jvmargs = -Xmx1G org.gradle.parallel = true # Mod Properties -mod_version = 0.1.3 +mod_version = 0.1.4 maven_group = ru.pinkgoosik archives_base_name = dimensional-revive diff --git a/src/main/java/ru/pinkgoosik/dimrevive/data/VisitedDimensionsState.java b/src/main/java/ru/pinkgoosik/dimrevive/data/VisitedDimensionsState.java index 845052c..4c00f05 100644 --- a/src/main/java/ru/pinkgoosik/dimrevive/data/VisitedDimensionsState.java +++ b/src/main/java/ru/pinkgoosik/dimrevive/data/VisitedDimensionsState.java @@ -35,11 +35,11 @@ public static VisitedDimensionsState fromNbt(NbtCompound nbt) { public boolean wasVisited(RegistryKey key) { - this.setDirty(true); return visitedDimensions.contains(key.getValue().toString()); } public void addDimension(RegistryKey key) { + this.setDirty(true); this.visitedDimensions.add(key.getValue().toString()); } }