Skip to content

Commit 1d5304e

Browse files
committed
Actually pass the correct strings
1 parent 227aa99 commit 1d5304e

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

changelog.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
Atmospheric API 3.3.2
2-
- Call BlockItem#registerBlocks/appendBlocks
3-
- Cleanup translation nonsense
1+
Atmospheric API 3.3.3
2+
- Fix AtmosphericTranslationBuilder#addDamageType passing the wrong strings for player and item

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ org.gradle.jvmargs=-Xmx1G
33
org.gradle.parallel=true
44

55
# Mod Properties
6-
mod_version=3.3.2
6+
mod_version=3.3.3
77
maven_group=survivalblock.atmosphere
88
archives_base_name=atmospheric_api
99

src/main/java/survivalblock/atmosphere/atmospheric_api/not_mixin/datagen/language/AtmosphericTranslationBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ public void addDamageType(HolderLookup.Provider lookup, ResourceKey<DamageType>
5050
String translation = this.getDamageTypeTranslationKey(lookup, key);
5151
this.add(translation, value);
5252
if (player != null) {
53-
this.add(translation + ".player", value);
53+
this.add(translation + ".player", player);
5454
}
5555
if (item != null) {
56-
this.add(translation + ".item", value);
56+
this.add(translation + ".item", item);
5757
}
5858
}
5959

0 commit comments

Comments
 (0)