mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-02-09 05:43:01 +08:00
refactor: remove unnecessary semicolons
This commit is contained in:
parent
c3eafba072
commit
029ef823e1
@ -837,7 +837,6 @@ public final class ResourceLoader {
|
|||||||
try {
|
try {
|
||||||
JsonUtils.loadToList(getResourcePath("Server/SubfieldMapping.json"), SubfieldMapping.class)
|
JsonUtils.loadToList(getResourcePath("Server/SubfieldMapping.json"), SubfieldMapping.class)
|
||||||
.forEach(entry -> subfieldMap.put(entry.getEntityId(), entry));
|
.forEach(entry -> subfieldMap.put(entry.getEntityId(), entry));
|
||||||
;
|
|
||||||
} catch (IOException | NullPointerException ignored) {
|
} catch (IOException | NullPointerException ignored) {
|
||||||
}
|
}
|
||||||
Grasscutter.getLogger().debug("Loaded {} subfield mappings.", subfieldMap.size());
|
Grasscutter.getLogger().debug("Loaded {} subfield mappings.", subfieldMap.size());
|
||||||
@ -851,7 +850,6 @@ public final class ResourceLoader {
|
|||||||
JsonUtils.loadToList(
|
JsonUtils.loadToList(
|
||||||
getResourcePath("Server/DropSubfieldMapping.json"), DropSubfieldMapping.class)
|
getResourcePath("Server/DropSubfieldMapping.json"), DropSubfieldMapping.class)
|
||||||
.forEach(entry -> dropSubfieldMap.put(entry.getDropId(), entry));
|
.forEach(entry -> dropSubfieldMap.put(entry.getDropId(), entry));
|
||||||
;
|
|
||||||
} catch (IOException | NullPointerException ignored) {
|
} catch (IOException | NullPointerException ignored) {
|
||||||
}
|
}
|
||||||
Grasscutter.getLogger().debug("Loaded {} drop subfield mappings.", dropSubfieldMap.size());
|
Grasscutter.getLogger().debug("Loaded {} drop subfield mappings.", dropSubfieldMap.size());
|
||||||
@ -866,7 +864,6 @@ public final class ResourceLoader {
|
|||||||
getResourcePath("Server/DropTableExcelConfigData.json"),
|
getResourcePath("Server/DropTableExcelConfigData.json"),
|
||||||
DropTableExcelConfigData.class)
|
DropTableExcelConfigData.class)
|
||||||
.forEach(entry -> dropTableExcelConfigDataMap.put(entry.getId(), entry));
|
.forEach(entry -> dropTableExcelConfigDataMap.put(entry.getId(), entry));
|
||||||
;
|
|
||||||
} catch (IOException | NullPointerException ignored) {
|
} catch (IOException | NullPointerException ignored) {
|
||||||
}
|
}
|
||||||
Grasscutter.getLogger()
|
Grasscutter.getLogger()
|
||||||
|
@ -13,7 +13,7 @@ public class AbilityMixinData implements Serializable {
|
|||||||
AttachToGadgetStateMixin,
|
AttachToGadgetStateMixin,
|
||||||
AttachToStateIDMixin,
|
AttachToStateIDMixin,
|
||||||
ShieldBarMixin,
|
ShieldBarMixin,
|
||||||
TileAttackManagerMixin;
|
TileAttackManagerMixin
|
||||||
}
|
}
|
||||||
|
|
||||||
@SerializedName("$type")
|
@SerializedName("$type")
|
||||||
|
@ -264,7 +264,7 @@ public class AbilityModifier implements Serializable {
|
|||||||
TurnDirectionToPos,
|
TurnDirectionToPos,
|
||||||
UpdateReactionDamage,
|
UpdateReactionDamage,
|
||||||
UseSkillEliteSet,
|
UseSkillEliteSet,
|
||||||
WidgetSkillStart;
|
WidgetSkillStart
|
||||||
}
|
}
|
||||||
|
|
||||||
@SerializedName("$type")
|
@SerializedName("$type")
|
||||||
|
@ -10,7 +10,7 @@ public class TalentData implements Serializable {
|
|||||||
ModifySkillCD,
|
ModifySkillCD,
|
||||||
UnlockTalentParam,
|
UnlockTalentParam,
|
||||||
AddTalentExtraLevel,
|
AddTalentExtraLevel,
|
||||||
ModifyAbility;
|
ModifyAbility
|
||||||
}
|
}
|
||||||
|
|
||||||
@SerializedName("$type")
|
@SerializedName("$type")
|
||||||
|
Loading…
Reference in New Issue
Block a user