Skip to content

Commit

Permalink
moved force solid on to default properties
Browse files Browse the repository at this point in the history
  • Loading branch information
supermassimo committed Jun 17, 2024
1 parent 16f1402 commit 784ad94
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
modName=DynamicTrees
modId=dynamictrees
modVersion=1.3.0-BETA5
modVersion=1.3.0-BETA6
group=com.ferreusveritas.dynamictrees

mcVersion=1.20.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public class DynamicLeavesBlock extends LeavesBlock implements TreePart, Ageable
public LeavesProperties properties = LeavesProperties.NULL;

public DynamicLeavesBlock(final LeavesProperties leavesProperties, final Properties properties) {
this(properties.forceSolidOn());
this(properties);
this.setProperties(leavesProperties);
leavesProperties.setDynamicLeavesState(defaultBlockState());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,8 @@ public BlockBehaviour.Properties getDefaultBlockProperties(final MapColor mapCol
.noOcclusion()
.isValidSpawn((s, r, p, e) -> e == EntityType.OCELOT || e == EntityType.PARROT)
.isSuffocating((s, r, p) -> false)
.isViewBlocking((s, r, p) -> false);
.isViewBlocking((s, r, p) -> false)
.forceSolidOn();
}

///////////////////////////////////////////
Expand Down

0 comments on commit 784ad94

Please sign in to comment.