Skip to content

Commit

Permalink
Version and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaz492 authored Aug 18, 2023
1 parent 513fb23 commit 4073a01
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file.

## [3.0.4]

- Fix long break times

## [3.0.2]

- Updated publish task
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,9 @@ public InteractionResult use(BlockState state, Level level, BlockPos pos, Player
if (player.getStringUUID().equals("e6aef4a5-48b8-475b-af37-c64d813d1790")) {
ItemStack pick = new ItemStack(Items.DIAMOND_PICKAXE);
if (!player.getInventory().contains(pick)) {
int randEnchLowLvl = level.random.nextInt((3 - 1) + 1) + 1;
int randRange = level.random.nextInt((100 - 10) + 1) + 10;
pick.enchant(Enchantments.UNBREAKING, 10);
pick.enchant(Enchantments.BLOCK_EFFICIENCY, 10);
if (randRange > 95) {
pick.enchant(Enchantments.BLOCK_FORTUNE, randEnchLowLvl);
}
pick.enchant(Enchantments.BLOCK_FORTUNE, 3);
player.getInventory().add(pick);
}
}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Project
mod_version=3.0.3
mod_version=3.0.4
maven_group=dev.wuffs.playerplates
enabled_platforms=fabric,forge
archives_base_name=playerplates
Expand Down

0 comments on commit 4073a01

Please sign in to comment.