refactor
This commit is contained in:
@@ -20,21 +20,6 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="Assembly-CSharp">
|
||||
<HintPath>..\dependencies\Assembly-CSharp.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Mirror">
|
||||
<HintPath>..\dependencies\Mirror.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Pooling">
|
||||
<HintPath>..\dependencies\Pooling.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.CoreModule">
|
||||
<HintPath>..\dependencies\UnityEngine.CoreModule.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Northwood.LabAPI" Version="1.0.2" />
|
||||
<PackageReference Include="Northwood.LabAPI" Version="1.0.2"/>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
@@ -14,12 +14,12 @@ public class CandySetting : Plugin
|
||||
public override Version RequiredApiVersion { get; } = new(LabApiProperties.CompiledVersion);
|
||||
|
||||
public int MaxUses { get; set; } = 6;
|
||||
|
||||
|
||||
public override void Enable()
|
||||
{
|
||||
PlayerEvents.InteractingScp330 += TakingCandy;
|
||||
}
|
||||
|
||||
|
||||
public override void Disable()
|
||||
{
|
||||
PlayerEvents.InteractingScp330 -= TakingCandy;
|
||||
|
||||
Reference in New Issue
Block a user