mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-17 22:14:05 +09:00
itemised the torch
This commit is contained in:
@@ -377,10 +377,7 @@ object LightmapRenderer {
|
||||
|
||||
val heldItem = it.inventory.itemEquipped[GameItem.EquipPosition.HAND_GRIP]
|
||||
|
||||
val light = if (heldItem != null && (heldItem.isBlock()))
|
||||
BlockCodex[heldItem].getLumCol(0, 0)
|
||||
else
|
||||
Cvec(0)
|
||||
val light = ItemCodex[heldItem]?.getLumCol() ?: Cvec(0)
|
||||
|
||||
|
||||
Lightbox(Hitbox(
|
||||
|
||||
Reference in New Issue
Block a user