Skip to content

Commit

Permalink
chore(release): 1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
UltimatChamp committed Feb 28, 2025
1 parent 3561b3a commit bf5160f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
14 changes: 11 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
🗃️**Detailed Changelog: [1.4.3 --> 1.4.4](https://github.com/UltimatChamp/BetterGrassify/compare/1.4.3+fabric.1.21.4...1.4.4+fabric.1.21.4)**
🗃️**Detailed Changelog: [1.4.4 --> 1.5.0](https://github.com/UltimatChamp/BetterGrassify/compare/1.4.4+fabric.1.21.4...1.5.0+fabric.1.21.4)**

<hr>

### 📢Announcement

- Support for all `1.20.x` versions has been dropped. _(Almost been a year since `1.20.6` was released)_

<hr>

### 🛠️Changes

- Updated **Turkish** translation. [**[#46]**](https://github.com/UltimatChamp/BetterGrassify/pull/46)
- Updated **Brazilian Portuguese** translation. [**[#47]**](https://github.com/UltimatChamp/BetterGrassify/pull/47)
- Fixed various issues with pistons.
- Fixed some very rare cases where **Better Snowy Grass** would be applied, even when disabled.
- Some internal code optimizations and refactoring.
- Updated **Italian** translation. [**[#49]**](https://github.com/UltimatChamp/BetterGrassify/pull/49)
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ mod_name=BetterGrassify
mod_license=Apache-2.0
mod_authors=UltimatChamp, JayemCeekay
mod_description=Gamers can finally touch grass!?\nOptiFine's Fancy and Fast better grass implemented on Fabric and NeoForge!
mod_version=1.4.4
mod_version=1.5.0
maven_group=dev.ultimatchamp

# Providers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,8 @@ public static BlockState getLayerNeighbour(BlockRenderView world, BlockPos selfP
}

public static boolean isLayerNeighbourSnow(BlockRenderView world, BlockPos selfPos) {
return getLayerNeighbour(world, selfPos).isOf(Blocks.SNOW);
BlockState layerNeighbour = getLayerNeighbour(world, selfPos);
return layerNeighbour != null && layerNeighbour.isOf(Blocks.SNOW);
}

public static boolean canHaveGhostSnowLayer(BlockRenderView world, BlockPos selfPos) {
Expand Down

0 comments on commit bf5160f

Please sign in to comment.