mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 15:41:13 -04:00
[Client] Don't get invalid cells in LocalPlayer::sendJournalEntry()
This commit is contained in:
parent
b320910c5f
commit
37e7d2c15b
@ -1063,7 +1063,9 @@ void LocalPlayer::sendJournalEntry(const std::string& quest, int index, const MW
|
||||
journalItem.quest = quest;
|
||||
journalItem.index = index;
|
||||
|
||||
journalItem.actorCell = *actor.getCell()->getCell();
|
||||
if (actor.getCell() != nullptr)
|
||||
journalItem.actorCell = *actor.getCell()->getCell();
|
||||
|
||||
journalItem.actorCellRef.mRefID = actor.getCellRef().getRefId();
|
||||
journalItem.actorCellRef.mRefNum = actor.getCellRef().getRefNum();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user