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
Failed to generate hash of commit

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);