Skip to content

Commit

Permalink
Merged 1.10.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Majrusz committed Nov 15, 2023
2 parents 0ffa2aa + 79d35dd commit 9a50af1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
5 changes: 1 addition & 4 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
- updated Spanish translation (thanks to @critvanilla)
- fixed bug with Harvester not working properly when combined with Telekinesis
- fixed bug with Fuse Cutter particles being spawned too low
- fixed bug with being unable to fish anything on server (reported by @NeuTraLZer, @MiracleBelief)
- fixed bug with Fishing Fanatic enchantment breaking the fishing rod (reported by @Colours)
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,10 @@ private void increaseLoot( OnFishingExtraItemsGet data ) {
int level = EnchantmentHelper.getLevel( this.enchantment, fishingRod );
List< ItemStack > loot = this.spawnExtraLoot( data, level );

data.extraExperience += loot.size() + Random.nextInt( 2 * loot.size() ) + 1;
data.extraItems.addAll( loot );
if( !loot.isEmpty() ) {
data.extraExperience += loot.size() + Random.nextInt( 2 * loot.size() ) + 1;
data.extraItems.addAll( loot );
}
}

private List< ItemStack > spawnExtraLoot( OnFishingExtraItemsGet data, int level ) {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ minecraft_version_range=[1.20.1,)
# Mod
mod_id=majruszsenchantments
mod_archives_name=majruszs-enchantments
mod_version=1.10.1
mod_version=1.10.2
mod_display_name=Majrusz's Enchantments
mod_description=Mod that adds plenty of unique and balanced enchantments to the game.
mod_authors=Majrusz
Expand Down

0 comments on commit 9a50af1

Please sign in to comment.