Skip to content

Commit

Permalink
Remove str_replace for .paper-remapped from Pocketmine/PluginRuntimeP…
Browse files Browse the repository at this point in the history
…roblem.php
  • Loading branch information
pavog committed Oct 18, 2024
1 parent 2ea2b50 commit 56e0568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Analysis/Problem/Pocketmine/PluginRuntimeProblem.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public static function getPatterns(): array
*/
public function setMatches(array $matches, $patternKey): void
{
$this->pluginPath = str_replace("plugins/.paper-remapped/", "plugins/", $matches[1]);
$this->pluginPath = $matches[1];
$this->pluginName = $matches[2];

$this->addSolution((new FileDeleteSolution())->setRelativePath($this->getPluginPath()));
Expand Down

0 comments on commit 56e0568

Please sign in to comment.