fix error?

This commit is contained in:
Ed86 2022-09-09 15:25:09 +03:00
parent 7c75548e60
commit 0ee04f8a80
4 changed files with 6 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View file

@ -28,6 +28,10 @@ namespace rjwfb
{ {
try try
{ {
if (pawn == null)
{
return;
}
if (partner == null) if (partner == null)
{ {
return; return;
@ -49,7 +53,7 @@ namespace rjwfb
beautystage = 3; beautystage = 3;
if (beautystage != -1) if (beautystage != -1)
p1.needs.mood.thoughts.memories.TryGainMemory(ThoughtMaker.MakeThought(RJW_Beautyfuck, beautystage), null); p1?.needs?.mood?.thoughts?.memories?.TryGainMemory(ThoughtMaker.MakeThought(RJW_Beautyfuck, beautystage), null);
} }
} }
catch(Exception e) catch(Exception e)

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Manifest> <Manifest>
<identifier>RimJobWorld FB</identifier> <identifier>RimJobWorld FB</identifier>
<version>1.2.0</version> <version>1.3.0</version>
<dependencies> <dependencies>
<li>RimJobWorld</li> <li>RimJobWorld</li>
</dependencies> </dependencies>