Changed SailBlock.applyDye() access modifier to public.

This commit is contained in:
LegendaryTot 2022-06-30 21:32:55 +00:00
parent a2ade69035
commit 3cb65a6898

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