mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-18 16:02:19 +01:00
Changed SailBlock.applyDye() access modifier to public.
This commit is contained in:
parent
a2ade69035
commit
3cb65a6898
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ public class SailBlock extends WrenchableDirectionalBlock {
|
||||||
return InteractionResult.PASS;
|
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 =
|
BlockState newState =
|
||||||
(color == null ? AllBlocks.SAIL_FRAME : AllBlocks.DYED_SAILS.get(color)).getDefaultState();
|
(color == null ? AllBlocks.SAIL_FRAME : AllBlocks.DYED_SAILS.get(color)).getDefaultState();
|
||||||
newState = BlockHelper.copyProperties(state, newState);
|
newState = BlockHelper.copyProperties(state, newState);
|
||||||
|
|
Loading…
Reference in a new issue