Skip to content

Commit

Permalink
Updated support and dropped item bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal78900 committed Nov 21, 2021
1 parent 96d76aa commit 0bbc781
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 21 deletions.
5 changes: 4 additions & 1 deletion WaitAndChillReborn/Handler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ internal void OnWaitingForPlayers()
{
if (!pickup.Spawned)
{
if (pickup.Base.transform.parent != null && pickup.Base.transform.parent.name.Contains("CustomSchematic"))
if (pickup.Base.name.Contains("CustomSchematic"))
continue;

pickup.Locked = true;
Expand Down Expand Up @@ -252,7 +252,10 @@ internal void OnChangingIntoGrenade(ChangingIntoGrenadeEventArgs ev)
internal void OnRoundStarted()
{
foreach (Player player in Player.List)
{
player.ClearInventory();
player.Role = RoleType.Spectator;
}

if (Config.AllowFriendlyFire)
{
Expand Down
4 changes: 2 additions & 2 deletions WaitAndChillReborn/Plugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public override void OnDisabled()

public override string Name => "WaitAndChillReborn";
public override string Author => "Michal78900";
public override Version Version => new Version(3, 1, 1);
public override Version RequiredExiledVersion => new Version(3, 6, 2);
public override Version Version => new Version(3, 1, 2);
public override Version RequiredExiledVersion => new Version(3, 7, 2);
}
}
34 changes: 17 additions & 17 deletions WaitAndChillReborn/WaitAndChillReborn.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -46,32 +46,32 @@
<Reference Include="CommandSystem.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\..\..\Desktop\Exiled\CommandSystem.Core.dll</HintPath>
</Reference>
<Reference Include="Exiled.API, Version=3.6.1.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>..\packages\EXILED.3.6.1\lib\net472\Exiled.API.dll</HintPath>
<Reference Include="Exiled.API, Version=3.7.2.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>..\packages\EXILED.3.7.2\lib\net472\Exiled.API.dll</HintPath>
</Reference>
<Reference Include="Exiled.Bootstrap, Version=3.6.1.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>..\packages\EXILED.3.6.1\lib\net472\Exiled.Bootstrap.dll</HintPath>
<Reference Include="Exiled.Bootstrap, Version=3.7.2.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>..\packages\EXILED.3.7.2\lib\net472\Exiled.Bootstrap.dll</HintPath>
</Reference>
<Reference Include="Exiled.CreditTags, Version=3.6.1.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>..\packages\EXILED.3.6.1\lib\net472\Exiled.CreditTags.dll</HintPath>
<Reference Include="Exiled.CreditTags, Version=3.7.2.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>..\packages\EXILED.3.7.2\lib\net472\Exiled.CreditTags.dll</HintPath>
</Reference>
<Reference Include="Exiled.CustomItems, Version=3.6.1.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>..\packages\EXILED.3.6.1\lib\net472\Exiled.CustomItems.dll</HintPath>
<Reference Include="Exiled.CustomItems, Version=3.7.2.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>..\packages\EXILED.3.7.2\lib\net472\Exiled.CustomItems.dll</HintPath>
</Reference>
<Reference Include="Exiled.CustomRoles, Version=3.6.1.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>..\packages\EXILED.3.6.1\lib\net472\Exiled.CustomRoles.dll</HintPath>
<Reference Include="Exiled.CustomRoles, Version=3.7.2.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>..\packages\EXILED.3.7.2\lib\net472\Exiled.CustomRoles.dll</HintPath>
</Reference>
<Reference Include="Exiled.Events, Version=3.6.1.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>..\packages\EXILED.3.6.1\lib\net472\Exiled.Events.dll</HintPath>
<Reference Include="Exiled.Events, Version=3.7.2.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>..\packages\EXILED.3.7.2\lib\net472\Exiled.Events.dll</HintPath>
</Reference>
<Reference Include="Exiled.Loader, Version=3.6.1.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>..\packages\EXILED.3.6.1\lib\net472\Exiled.Loader.dll</HintPath>
<Reference Include="Exiled.Loader, Version=3.7.2.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>..\packages\EXILED.3.7.2\lib\net472\Exiled.Loader.dll</HintPath>
</Reference>
<Reference Include="Exiled.Permissions, Version=3.6.1.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>..\packages\EXILED.3.6.1\lib\net472\Exiled.Permissions.dll</HintPath>
<Reference Include="Exiled.Permissions, Version=3.7.2.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>..\packages\EXILED.3.7.2\lib\net472\Exiled.Permissions.dll</HintPath>
</Reference>
<Reference Include="Exiled.Updater, Version=3.1.1.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>..\packages\EXILED.3.6.1\lib\net472\Exiled.Updater.dll</HintPath>
<HintPath>..\packages\EXILED.3.7.2\lib\net472\Exiled.Updater.dll</HintPath>
</Reference>
<Reference Include="Mirror, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
Expand Down
2 changes: 1 addition & 1 deletion WaitAndChillReborn/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="EXILED" version="3.6.1" targetFramework="net472" />
<package id="EXILED" version="3.7.2" targetFramework="net472" />
</packages>

0 comments on commit 0bbc781

Please sign in to comment.