fixed staff of shadows still checking for light level 7

Closes #280
This commit is contained in:
Ell 2022-09-30 15:30:03 +02:00
parent 52512b5062
commit f47204bf47

View file

@ -47,7 +47,7 @@ public class ItemCaveFinder extends ItemImpl {
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(