mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-10 12:33:57 +01:00
Merge pull request #3152 from LegendaryTot/mc1.18/dev
Change SailBlock.applyDye() access modifier to public
This commit is contained in:
commit
be64a229b5
@ -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 New Issue
Block a user