Fixed KitchenLib problems & Preperation for MelonLoader Support
This commit is contained in:
@@ -76,8 +76,8 @@
|
||||
<Reference Include="Kitchen.Networking">
|
||||
<HintPath>..\..\..\..\Libraries\PlateUp_Data\Managed\Kitchen.Networking.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="KitchenLib">
|
||||
<HintPath>..\..\..\..\Libraries\Mods\KitchenLib.dll</HintPath>
|
||||
<Reference Include="KitchenLib-BepInEx">
|
||||
<HintPath>..\..\..\..\Libraries\KitchenLib\KitchenLib-BepInEx.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="KitchenMode">
|
||||
<HintPath>..\..\..\..\Libraries\PlateUp_Data\Managed\KitchenMode.dll</HintPath>
|
||||
|
||||
+20
-2
@@ -1,12 +1,30 @@
|
||||
using KitchenLib;
|
||||
using System.Reflection;
|
||||
#if BEPINEX
|
||||
using BepInEx;
|
||||
#endif
|
||||
#if MELONLOADER
|
||||
using MelonLoader;
|
||||
#endif
|
||||
|
||||
#if MELONLOADER
|
||||
[assembly: MelonInfo(typeof(MMOKitchen.Mod), "MMO Kitchen", "0.1.4", "StarFluxGames")]
|
||||
[assembly: MelonGame("It's Happening", "PlateUp")]
|
||||
#endif
|
||||
namespace MMOKitchen
|
||||
{
|
||||
#if BEPINEX
|
||||
[BepInProcess("PlateUp.exe")]
|
||||
[BepInPlugin("starfluxgames.mmokitchen", "MMO Kitchen", "0.1.3")]
|
||||
[BepInPlugin("starfluxgames.mmokitchen", "MMO Kitchen", "0.1.4")]
|
||||
[BepInDependency(KitchenLib.Mod.GUID)]
|
||||
#endif
|
||||
public class Mod : BaseMod
|
||||
{
|
||||
public Mod() : base("1.1.0", Assembly.GetExecutingAssembly()) { }
|
||||
#if MELONLOADER
|
||||
public Mod() : base("mmokitchen", "1.1.1") { }
|
||||
#endif
|
||||
#if BEPINEX
|
||||
public Mod() : base("1.1.1", Assembly.GetExecutingAssembly()) { }
|
||||
#endif
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user