Skip to content

Commit

Permalink
fixed staff of shadows still checking for light level 7
Browse files Browse the repository at this point in the history
Closes #280
  • Loading branch information
Ellpeck committed Sep 30, 2022
1 parent 52512b5 commit f47204b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public InteractionResultHolder<ItemStack> use(Level levelIn, Player playerIn, In

var sky = levelIn.getBrightness(LightLayer.SKY, offUp);
var block = levelIn.getBrightness(LightLayer.BLOCK, offUp);
if (sky > 7 || block > 7)
if (sky > 0 || block > 0)
continue;

inst.spawnMagicParticle(
Expand Down

0 comments on commit f47204b

Please sign in to comment.