mirror of
https://github.com/Deathgarden-Rebirth/Deathgarden_Rebirth-Rewrite.git
synced 2026-09-08 19:25:10 -05:00
Fix prestige being broken after all weapons lvl.10 change.
This commit is contained in:
@@ -186,7 +186,7 @@ protected function resetCharacter(CharacterData &$characterData): void
|
||||
// first detach all character items
|
||||
$inventory->detach($allItemsToRemove);
|
||||
//then attach the defaults again
|
||||
$inventory->attach([...$defaultItems, $config::getCharacterId()->toString()]);
|
||||
$inventory->syncWithoutDetaching([...$defaultItems, $config::getCharacterId()->toString()]);
|
||||
|
||||
// Remove signature challenges
|
||||
foreach ($allItemsToRemove as $item) {
|
||||
|
||||
Reference in New Issue
Block a user