Skip to content

Commit

Permalink
Small custom data fix
Browse files Browse the repository at this point in the history
  • Loading branch information
paulevsGitch committed Jun 7, 2021
1 parent 1a5f579 commit a2a3671
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ yarn_mappings=6
loader_version=0.11.3

# Mod Properties
mod_version = 0.1.21
mod_version = 0.1.22
maven_group = ru.bclib
archives_base_name = bclib

Expand Down
4 changes: 4 additions & 0 deletions src/main/java/ru/bclib/world/biomes/BCLBiome.java
Original file line number Diff line number Diff line change
Expand Up @@ -190,4 +190,8 @@ public int hashCode() {
public <T> T getCustomData(String name, T defaultValue) {
return (T) customData.getOrDefault(name, defaultValue);
}

public void addCustomData(String name, Object obj) {
customData.put(name, obj);
}
}

0 comments on commit a2a3671

Please sign in to comment.