mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-23 00:12:29 +00:00
Make subfield & drop classes final
This commit is contained in:
parent
4de21d4a40
commit
f85070abdc
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user