Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
joker-119 committed Aug 26, 2021
1 parent 46a3e40 commit 4560c3b
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 27 deletions.
9 changes: 0 additions & 9 deletions CustomItems/Configs/Items.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,6 @@ public class Items
new MediGun { Type = ItemType.GunFSP9 },
};

/// <summary>
/// Gets the list of Rocks.
/// </summary>
[Description("The list of Rocks.")]
public List<Rock> Rocks { get; private set; } = new List<Rock>
{
new Rock { Type = ItemType.SCP018 },
};

/// <summary>
/// Gets the list of Scp127s.
/// </summary>
Expand Down
6 changes: 1 addition & 5 deletions CustomItems/CustomItems.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ private CustomItems()
public static CustomItems Instance => InstanceValue;

/// <inheritdoc/>
public override Version RequiredExiledVersion { get; } = new Version(2, 12, 0);
public override Version RequiredExiledVersion { get; } = new Version(3, 0, 0);

/// <inheritdoc/>
public override void OnEnabled()
Expand Down Expand Up @@ -105,8 +105,6 @@ private void RegisterItems()

Instance.Config.ItemConfigs.MediGuns?.Register();

Instance.Config.ItemConfigs.Rocks?.Register();

Instance.Config.ItemConfigs.Scp127s?.Register();

Instance.Config.ItemConfigs.Scp1499s?.Register();
Expand Down Expand Up @@ -142,8 +140,6 @@ private void UnregisterItems()

Instance.Config.ItemConfigs.MediGuns?.Unregister();

Instance.Config.ItemConfigs.Rocks?.Unregister();

Instance.Config.ItemConfigs.Scp127s?.Unregister();

Instance.Config.ItemConfigs.Scp1499s?.Unregister();
Expand Down
16 changes: 8 additions & 8 deletions CustomItems/CustomItems.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -54,38 +54,38 @@
<HintPath>$(EXILED_REFERENCES)\CommandSystem.Core.dll</HintPath>
</Reference>
<Reference Include="Exiled.API, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\EXILED.3.0.0-alpha.60\lib\net472\Exiled.API.dll</HintPath>
<HintPath>..\packages\EXILED.3.0.0-alpha.68\lib\net472\Exiled.API.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Exiled.Bootstrap, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\EXILED.3.0.0-alpha.60\lib\net472\Exiled.Bootstrap.dll</HintPath>
<HintPath>..\packages\EXILED.3.0.0-alpha.68\lib\net472\Exiled.Bootstrap.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Exiled.CreditTags, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\EXILED.3.0.0-alpha.60\lib\net472\Exiled.CreditTags.dll</HintPath>
<HintPath>..\packages\EXILED.3.0.0-alpha.68\lib\net472\Exiled.CreditTags.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Exiled.CustomItems, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\EXILED.3.0.0-alpha.60\lib\net472\Exiled.CustomItems.dll</HintPath>
<HintPath>..\packages\EXILED.3.0.0-alpha.68\lib\net472\Exiled.CustomItems.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Exiled.Events, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\EXILED.3.0.0-alpha.60\lib\net472\Exiled.Events.dll</HintPath>
<HintPath>..\packages\EXILED.3.0.0-alpha.68\lib\net472\Exiled.Events.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Exiled.Example, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\..\EXILED\bin\Debug\Exiled.Example.dll</HintPath>
</Reference>
<Reference Include="Exiled.Loader, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\EXILED.3.0.0-alpha.60\lib\net472\Exiled.Loader.dll</HintPath>
<HintPath>..\packages\EXILED.3.0.0-alpha.68\lib\net472\Exiled.Loader.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Exiled.Permissions, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\EXILED.3.0.0-alpha.60\lib\net472\Exiled.Permissions.dll</HintPath>
<HintPath>..\packages\EXILED.3.0.0-alpha.68\lib\net472\Exiled.Permissions.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Exiled.Updater, Version=3.1.1.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\EXILED.3.0.0-alpha.60\lib\net472\Exiled.Updater.dll</HintPath>
<HintPath>..\packages\EXILED.3.0.0-alpha.68\lib\net472\Exiled.Updater.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Mirror, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
Expand Down
4 changes: 2 additions & 2 deletions CustomItems/Items/Rock.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// -----------------------------------------------------------------------

namespace CustomItems.Items
{
{/*
using System;
using System.Collections.Generic;
using System.ComponentModel;
Expand Down Expand Up @@ -191,5 +191,5 @@ protected override void OnThrowing(ThrowingItemEventArgs ev)
});
}
}
}
}*/
}
4 changes: 2 additions & 2 deletions CustomItems/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.0.0.0")]
[assembly: AssemblyFileVersion("2.0.0.0")]
[assembly: AssemblyVersion("3.0.1.0")]
[assembly: AssemblyFileVersion("3.0.1.0")]
2 changes: 1 addition & 1 deletion CustomItems/packages.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="EXILED" version="3.0.0-alpha.60" targetFramework="net472" />
<package id="EXILED" version="3.0.0-alpha.68" targetFramework="net472" />
<package id="Lib.Harmony" version="2.0.4" targetFramework="net472" />
<package id="StyleCop.Analyzers" version="1.1.118" targetFramework="net472" developmentDependency="true" />
</packages>

0 comments on commit 4560c3b

Please sign in to comment.