mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-13 12:04:06 +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 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)
|
BlockCodex[heldItem].getLumCol(0, 0)
|
||||||
else
|
else
|
||||||
Cvec(0)
|
Cvec(0)
|
||||||
|
|||||||
Reference in New Issue
Block a user