fix: Wrong piece in error message

This commit is contained in:
sigmasternchen 2024-10-31 16:21:25 +01:00
parent a98fb64975
commit a17a2eda9a

View file

@ -46,7 +46,7 @@ class Game {
}
}
throw new \RuntimeException("piece not found: " . $piece);
throw new \RuntimeException("piece not found: " . $needle);
}
private function removePiece(Piece $needle): void {