mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-17 01:15:52 +01:00
TeamManager avatar add refactor.
This commit is contained in:
@@ -57,7 +57,8 @@ public final class GiveAllCommand implements CommandHandler {
|
||||
}
|
||||
// This will handle stats and talents
|
||||
avatar.recalcStats();
|
||||
player.addAvatar(avatar);
|
||||
// Don't try to add each avatar to the current team
|
||||
player.addAvatar(avatar, false);
|
||||
}
|
||||
|
||||
//some test items
|
||||
|
||||
Reference in New Issue
Block a user