Merge pull request #3152 from LegendaryTot/mc1.18/dev

Change SailBlock.applyDye() access modifier to public
This commit is contained in:
PepperCode1 2022-07-06 12:16:02 -07:00 committed by GitHub
commit be64a229b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,7 +107,7 @@ public class SailBlock extends WrenchableDirectionalBlock {
return InteractionResult.PASS;
}
protected void applyDye(BlockState state, Level world, BlockPos pos, @Nullable DyeColor color) {
public void applyDye(BlockState state, Level world, BlockPos pos, @Nullable DyeColor color) {
BlockState newState =
(color == null ? AllBlocks.SAIL_FRAME : AllBlocks.DYED_SAILS.get(color)).getDefaultState();
newState = BlockHelper.copyProperties(state, newState);