Merge pull request #3152 from LegendaryTot/mc1.18/dev
Change SailBlock.applyDye() access modifier to public
This commit is contained in:
commit
be64a229b5
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue