Skip to content

Commit

Permalink
🐛fix: lineage not interrupting pairings
Browse files Browse the repository at this point in the history
  • Loading branch information
ScuffedNewt committed Feb 5, 2024
1 parent 1e23dd7 commit 755131d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/Services/PairingManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,9 @@ public function validatePairingBasics($character_codes, $pairing_item) {
throw new \Exception('Invalid Character(s) set.');
}

$this->checkCharacterPairingBasics($character_codes);
if (!$this->checkCharacterPairingBasics($character_codes)) {
throw new \Exception('Pairing failed validation.');
}

// set and check tag
$tag = $pairing_item->tag('pairing');
Expand Down

0 comments on commit 755131d

Please sign in to comment.