Skip to content

Commit

Permalink
Merge pull request #338 from FTBTeam/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
desht authored Dec 6, 2024
2 parents 5e7606e + cb47714 commit 6ed0496
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2101.1.5]

### Fixed
* Fixed client-side issues with piston checking (from last update) when connected to dedicated server

## [2101.1.4]

### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class PistonHelper {
* @return true if the piston should be prevented from moving, false to let it move
*/
public static boolean shouldPreventPistonMovement(Level level, BlockPos pistonPos, PistonStructureResolver resolver) {
if (FTBChunksWorldConfig.PISTON_PROTECTION.get() && !FTBChunksWorldConfig.DISABLE_PROTECTION.get()) {
if (!level.isClientSide && FTBChunksWorldConfig.PISTON_PROTECTION.get() && !FTBChunksWorldConfig.DISABLE_PROTECTION.get()) {
PrivacyProperty editProp = Platform.isFabric() ?
FTBChunksProperties.BLOCK_EDIT_AND_INTERACT_MODE :
FTBChunksProperties.BLOCK_EDIT_MODE;
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 @@ readable_name=FTB Chunks
maven_group=dev.ftb.mods
mod_author=FTB Team

mod_version=2101.1.4
mod_version=2101.1.5
minecraft_version=1.21.1

# Deps
Expand Down

0 comments on commit 6ed0496

Please sign in to comment.