Skip to content

Commit

Permalink
Merge branch 'refs/heads/1.19.2/multiloader' into 1.18.2/multiloader
Browse files Browse the repository at this point in the history
  • Loading branch information
hlysine committed Jul 20, 2024
2 parents b8f14f4 + 214b259 commit 2da03ea
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 5 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ 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).

## 2.0.4 - 2024-07-20

### Fixed

- Incorrect face occlusion for Copycat Ladder
- Incorrect link for Forge's update checker
- Crash when Sinytra is installed due to late config initialization

## 2.0.3 - 2024-07-20

### Changed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
import net.minecraft.world.level.block.state.properties.BooleanProperty;
import net.minecraft.world.phys.BlockHitResult;
import net.minecraft.world.phys.shapes.CollisionContext;
import net.minecraft.world.phys.shapes.Shapes;
import net.minecraft.world.phys.shapes.VoxelShape;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
Expand Down Expand Up @@ -74,6 +75,11 @@ public BlockState getStateForPlacement(@NotNull BlockPlaceContext pContext) {
return super.getShape(pState, pLevel, pPos, pContext);
}

@Override
public VoxelShape getOcclusionShape(BlockState state, BlockGetter level, BlockPos pos) {
return Shapes.empty();
}

@Override
public boolean canSurvive(BlockState state, LevelReader level, BlockPos pos) {
return true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

public class MigrationManager {
public static boolean migrationDisabled() {
return CCConfigs.safeGetter(CCConfigs.common().disableConversion::get, false).get();
return CCConfigs.safeGetter(() -> CCConfigs.common().disableConversion.get(), false).get();
}

public static StructureBlockInfo migrateStructure(StructureBlockInfo info) {
Expand Down
2 changes: 1 addition & 1 deletion forge/src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ issueTrackerURL="https://github.com/copycats-plus/copycats/issues"
modId="copycats"
version="${version}"
displayName="${mod_name}"
updateJSONURL="https://raw.githubusercontent.com/copycats-plus/copycats/main/update.json"
updateJSONURL="https://raw.githubusercontent.com/copycats-plus/copycats/multiloader/update.json"
displayURL="https://github.com/copycats-plus/copycats"
logoFile="copycats_icon.png"
credits="The Create: Addon Hub Discord"
Expand Down
6 changes: 3 additions & 3 deletions update.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"homepage": "https://github.com/copycats-plus/copycats/",
"promos": {
"1.20.1-recommended": "1.20.1-2.0.3",
"1.19.2-recommended": "1.19.2-2.0.3",
"1.18.2-recommended": "1.18.2-2.0.3"
"1.20.1-recommended": "1.20.1-2.0.4",
"1.19.2-recommended": "1.19.2-2.0.4",
"1.18.2-recommended": "1.18.2-2.0.4"
}
}

0 comments on commit 2da03ea

Please sign in to comment.