Make subfield & drop classes final

This commit is contained in:
KingRainbow44 2023-06-03 15:36:00 -04:00
parent 4de21d4a40
commit f85070abdc
No known key found for this signature in database
GPG Key ID: FC2CB64B00D257BE
3 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@ package emu.grasscutter.data.server;
import lombok.Data; import lombok.Data;
@Data @Data
public class DropSubfieldMapping { public final class DropSubfieldMapping {
private int dropId; private int dropId;
private int levelLimit; private int levelLimit;
private int itemId; private int itemId;

View File

@ -3,7 +3,7 @@ package emu.grasscutter.data.server;
import lombok.Data; import lombok.Data;
@Data @Data
public class DropTableExcelConfigData { public final class DropTableExcelConfigData {
private int id; private int id;
private int randomType; private int randomType;
private int dropLevel; private int dropLevel;
@ -16,7 +16,7 @@ public class DropTableExcelConfigData {
private int activityLimit; private int activityLimit;
@Data @Data
public class DropVectorEntry { public static class DropVectorEntry {
private int itemId; private int itemId;
private String countRange; private String countRange;
private int weight; private int weight;

View File

@ -3,12 +3,12 @@ package emu.grasscutter.data.server;
import lombok.Data; import lombok.Data;
@Data @Data
public class SubfieldMapping { public final class SubfieldMapping {
private int entityId; private int entityId;
private SubfieldMappingEntry[] subfields; private SubfieldMappingEntry[] subfields;
@Data @Data
public class SubfieldMappingEntry { public static class SubfieldMappingEntry {
private String subfieldName; private String subfieldName;
private int drop_id; private int drop_id;
} }