More MergeConsumables compat - allow swap/stack
This commit is contained in:
12
Plugin.cs
12
Plugin.cs
@@ -103,4 +103,16 @@ public class Plugin : BaseUnityPlugin
|
||||
|
||||
return IsFikaPresent.Value;
|
||||
}
|
||||
|
||||
private static bool? IsMergeConsumablesPresent;
|
||||
|
||||
public static bool MergeConsumablesPresent()
|
||||
{
|
||||
if (!IsMergeConsumablesPresent.HasValue)
|
||||
{
|
||||
IsMergeConsumablesPresent = Chainloader.PluginInfos.ContainsKey("com.lacyway.mc");
|
||||
}
|
||||
|
||||
return IsMergeConsumablesPresent.Value;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user