We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3d80ea commit d0c61d7Copy full SHA for d0c61d7
NebulaAPI/NebulaModAPI.cs
@@ -86,10 +86,11 @@ private void Awake()
86
87
foreach (var pluginInfo in BepInEx.Bootstrap.Chainloader.PluginInfos)
88
{
89
- if (pluginInfo.Value.Metadata.GUID != NEBULA_MODID) continue;
90
-
91
- nebulaIsInstalled = true;
92
- break;
+ if (pluginInfo.Value.Metadata.GUID == NEBULA_MODID)
+ {
+ nebulaIsInstalled = true;
+ break;
93
+ }
94
}
95
96
if (!nebulaIsInstalled) return;
NebulaAPI/Packets/BasePacketProcessor.cs
@@ -6,6 +6,9 @@
6
/// <typeparam name="T">Packet class</typeparam>
7
public abstract class BasePacketProcessor<T>
8
9
+ /// <summary>
10
+ /// Is code running on Host
11
+ /// </summary>
12
protected bool IsHost;
13
/// <summary>
14
/// Is code running on Client
0 commit comments