Skip to content

Commit bf0f5eb

Browse files
committed
Modified the LabApiNullPluginVersionPatch to completely ignore incompatible versions.
1 parent 0690c1b commit bf0f5eb

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

LabExtended/Patches/Fixes/LabApiNullPluginVersionFix.cs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,7 @@ public static class LabApiNullPluginVersionFix
2020

2121
private static bool Prefix(Plugin plugin, ref bool __result)
2222
{
23-
if (plugin.RequiredApiVersion is null
24-
|| plugin.Properties is null)
25-
{
26-
__result = true;
27-
return false;
28-
}
29-
23+
__result = true;
3024
return false;
3125
}
3226

0 commit comments

Comments
 (0)