Skip to content

Commit

Permalink
fix: Fix NPE in rpc code
Browse files Browse the repository at this point in the history
Fixed an issue where an NPE occurs when ddon-tools is connected.
  • Loading branch information
pacampbell committed Dec 6, 2024
1 parent 6372716 commit 96395d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Arrowgene.Ddon.Rpc/Command/RpcCommandResult.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
namespace Arrowgene.Ddon.Rpc.Command
namespace Arrowgene.Ddon.Rpc.Command
{
public class RpcCommandResult
{
public RpcCommandResult(IRpcCommand command, bool success)
{
Command = command;
Success = success;
Message = string.Empty;
}

public IRpcCommand Command { get; }
Expand Down

0 comments on commit 96395d3

Please sign in to comment.