mirror of
https://github.com/Deathgarden-Rebirth/Deathgarden_Rebirth-Rewrite.git
synced 2026-09-08 19:25:10 -05:00
Removed the Equipped_bonuses table because players cannot change their passives anyway. Now the equipped passives are retrieved directly from the config.
This commit is contained in:
@@ -96,9 +96,6 @@ private function handleUpdateCharacterMetadata(UpdateMetadataGroupRequest &$requ
|
||||
$convertedIds = UuidHelper::convertFromHexToUuidCollecton($request->metadata['equippedWeapons'], true);
|
||||
$characterData->equippedWeapons()->sync($convertedIds);
|
||||
|
||||
$convertedIds = UuidHelper::convertFromHexToUuidCollecton($request->metadata['equippedBonuses'], true);
|
||||
$characterData->equippedBonuses()->sync($convertedIds);
|
||||
|
||||
foreach ($request->metadata['pickedChallenges'] as $picked) {
|
||||
$itemId = Uuid::fromHexadecimal(new Hexadecimal($picked['itemId']));
|
||||
$pickedChallenge = $characterData->getPicketChallengeForItem($itemId);
|
||||
|
||||
Reference in New Issue
Block a user