mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-09 21:31:51 +09:00
held item--wall is not emitting light anymore
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user