Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
PhantomGamers committed Aug 31, 2021
1 parent c3d80ea commit d0c61d7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
9 changes: 5 additions & 4 deletions NebulaAPI/NebulaModAPI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,11 @@ private void Awake()

foreach (var pluginInfo in BepInEx.Bootstrap.Chainloader.PluginInfos)
{
if (pluginInfo.Value.Metadata.GUID != NEBULA_MODID) continue;

nebulaIsInstalled = true;
break;
if (pluginInfo.Value.Metadata.GUID == NEBULA_MODID)
{
nebulaIsInstalled = true;
break;
}
}

if (!nebulaIsInstalled) return;
Expand Down
3 changes: 3 additions & 0 deletions NebulaAPI/Packets/BasePacketProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
/// <typeparam name="T">Packet class</typeparam>
public abstract class BasePacketProcessor<T>
{
/// <summary>
/// Is code running on Host
/// </summary>
protected bool IsHost;
/// <summary>
/// Is code running on Client
Expand Down

0 comments on commit d0c61d7

Please sign in to comment.