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;
@Data
public class DropSubfieldMapping {
public final class DropSubfieldMapping {
private int dropId;
private int levelLimit;
private int itemId;

View File

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

View File

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