Skip to content

Commit

Permalink
Merge pull request #235 from gottsch/1.16.5-develop
Browse files Browse the repository at this point in the history
1.16.5 develop
  • Loading branch information
gottsch authored Aug 14, 2021
2 parents 6d9f7a2 + 3de2018 commit ad7b1c1
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package_group=someguyssoftware.treasure2
# use alpha, beta, or v (for version)
mod_version_type=v

mod_version=1.5.0
mod_version=1.5.1

#versions
mc_version=1.16.5
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/someguyssoftware/treasure2/Treasure.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public class Treasure implements IMod {
// constants
public static final String MODID = "treasure2";
protected static final String NAME = "Treasure2";
protected static final String VERSION = "1.5.0";
protected static final String VERSION = "1.5.1";
protected static final String UPDATE_JSON_URL = "https://raw.githubusercontent.com/gottsch/gottsch-minecraft-Treasure/1.16.5-master/update.json";

public static Treasure instance;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public void appendHoverText(ItemStack stack, World worldIn, List<ITextComponent>
* Attempting to make a safe call for some performance enchancing mixin mods
*/
String keyList = getKeys().stream().map(e -> {
ITextComponent txt = e.getName(null);
ITextComponent txt = e.getName(new ItemStack(e));
return txt == null ? "" : txt.getString();
}).collect(Collectors.joining(","));

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ issueTrackerURL="https://github.com/gottsch/gottsch-minecraft-Treasure/issues" #
modId="treasure2" #mandatory

# The version number of the mod - there's a few well known ${} variables useable here or just hardcode it
version="1.5.0" #mandatory
version="1.5.1" #mandatory

# A display name for the mod
displayName="Treasure2" #mandatory
Expand Down
7 changes: 4 additions & 3 deletions update.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"homepage": "https://minecraft.curseforge.com/projects/treasure2",
"promos": {
"1.16.5-latest": "1.5.0",
"1.16.5-recommended": "1.5.0"
"1.16.5-latest": "1.5.1",
"1.16.5-recommended": "1.5.1"
},
"1.16.5": {
"1.0.0": "Initial version release.",
"1.0.1": "Fixed Ticking block entity on Bound Soul crash.\nFixed missing Loot Table error (for test.json).",
"1.5.0": "Added mist - Gravestones, Bound Souls, and Wither Tree's poison and wither mist.\nAdded Key Ring.\nAdded key merging ability.\nAdded treasure maps to other Treasure chests.\nUpdated bounding boxes of gravestones.\nFixed Well and Wither Tree regitries.\nAttempt to fix LockItem.appendHoverText initialization crash with some performance mods.\nUses Forge-36.2.0"
"1.5.0": "Added mist - Gravestones, Bound Souls, and Wither Tree's poison and wither mist.\nAdded Key Ring.\nAdded key merging ability.\nAdded treasure maps to other Treasure chests.\nUpdated bounding boxes of gravestones.\nFixed Well and Wither Tree regitries.\nAttempt to fix LockItem.appendHoverText initialization crash with some performance mods.\nUses Forge-36.2.0",
"1.5.1": "Fixed java.lang.NullPointerException: Initializing game at net.minecraft.item.Item.handler$zpo000$getDisplayName(Item.java:526) ~[?:?]"
}
}

0 comments on commit ad7b1c1

Please sign in to comment.