Skip to content

Commit 56e0568

Browse files
committed
Remove str_replace for .paper-remapped from Pocketmine/PluginRuntimeProblem.php
1 parent 2ea2b50 commit 56e0568

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Analysis/Problem/Pocketmine/PluginRuntimeProblem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public static function getPatterns(): array
4242
*/
4343
public function setMatches(array $matches, $patternKey): void
4444
{
45-
$this->pluginPath = str_replace("plugins/.paper-remapped/", "plugins/", $matches[1]);
45+
$this->pluginPath = $matches[1];
4646
$this->pluginName = $matches[2];
4747

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

0 commit comments

Comments
 (0)