mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 12:08:52 +00:00
DreamLanternItem can be null so add ?
This commit is contained in:
parent
735b375f23
commit
27e05aef5a
@ -15,7 +15,7 @@ internal class SetLitMessage : QSBWorldObjectMessage<QSBDreamLanternController,
|
||||
// If a lantern is already lit you shouldn't be able to pick it up
|
||||
if (Data)
|
||||
{
|
||||
WorldObject.DreamLanternItem.EnableInteraction(false);
|
||||
WorldObject.DreamLanternItem?.EnableInteraction(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user