mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-24 20:58:19 +08:00
fix costumes are unable to be unlocked. (#1842)
* fix: costumes are able to be unlocked. * Update AvatarCostumeData
This commit is contained in:
parent
004a765e5b
commit
e23536e7ba
@ -1,19 +1,21 @@
|
||||
package emu.grasscutter.data.excels;
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import emu.grasscutter.data.GameData;
|
||||
import emu.grasscutter.data.GameResource;
|
||||
import emu.grasscutter.data.ResourceType;
|
||||
|
||||
@ResourceType(name = "AvatarCostumeExcelConfigData.json")
|
||||
public class AvatarCostumeData extends GameResource {
|
||||
private int costumeId;
|
||||
@SerializedName(value = "skinId", alternate = "costumeId")
|
||||
private int skinId;
|
||||
private int itemId;
|
||||
private int characterId;
|
||||
private int quality;
|
||||
|
||||
@Override
|
||||
public int getId() {
|
||||
return this.costumeId;
|
||||
return this.skinId;
|
||||
}
|
||||
|
||||
public int getItemId() {
|
||||
|
Loading…
Reference in New Issue
Block a user