Skip to content

Commit

Permalink
fix BreakDoors.cs (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
Misfiy authored Jun 23, 2024
1 parent 49d9d3a commit 9a5bede
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion AdminTools/AdminTools.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<ItemGroup>
<Compile Include="Commands\Ahp.cs" />
<Compile Include="Commands\Ball.cs" />
<Compile Include="Commands\BreakDoor\BreakDoors.cs" />
<Compile Include="Commands\BreakDoors.cs" />
<Compile Include="Commands\DropItem.cs" />
<Compile Include="Commands\DropSize.cs" />
<Compile Include="Commands\Enums.cs" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out s
return false;
}

if (arguments.Count > 0)
if (arguments.Count == 0)
{
response = "Usage: breakdoors (all / *) [IsEnable]";
return false;
Expand Down

0 comments on commit 9a5bede

Please sign in to comment.