held item--wall is not emitting light anymore

This commit is contained in:
minjaesong
2024-02-05 17:34:09 +09:00
parent 3491926e7c
commit 34bc9d45a0

View File

@@ -389,7 +389,7 @@ object LightmapRenderer {
val heldItem = it.inventory.itemEquipped[GameItem.EquipPosition.HAND_GRIP]
val light = if (heldItem != null && (heldItem.isBlock() || heldItem.isWall()))
val light = if (heldItem != null && (heldItem.isBlock()))
BlockCodex[heldItem].getLumCol(0, 0)
else
Cvec(0)