Skip to content

Commit

Permalink
add missing space
Browse files Browse the repository at this point in the history
  • Loading branch information
BoBkiNN committed Jun 30, 2024
1 parent 4dab47e commit 09e1dee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public int getLuminance(ItemStack stack) {

static int getLuminance(ItemStack stack, BlockState state) {
var blockState = stack.getComponents().getOrDefault(DataComponentTypes.BLOCK_STATE, BlockStateComponent.DEFAULT);
if (!blockState.isEmpty()){
if (!blockState.isEmpty()) {
state = blockState.apply(state);
}
return state.getLuminance();
Expand Down

0 comments on commit 09e1dee

Please sign in to comment.