Skip to content

Commit

Permalink
Fixed lookup taking the default radius instead of null
Browse files Browse the repository at this point in the history
  • Loading branch information
matcracker committed May 7, 2021
1 parent b8afca9 commit 5fc205a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/matcracker/BedcoreProtect/commands/CommandParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,6 @@ public function __construct(string $senderName, ConfigParser $configParser, arra
if ($shift) {
array_shift($this->arguments);
}

if (($dr = $this->configParser->getDefaultRadius()) !== 0) {
$this->data['radius'] = $dr;
}
}

/**
Expand Down

0 comments on commit 5fc205a

Please sign in to comment.