From e706cce8024a7bb72aadc83f79794dafb5603997 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 20 Jun 2023 20:38:14 +0000 Subject: [PATCH] Format code [skip actions] --- .../game/entity/gadget/GadgetGatherObject.java | 3 ++- .../emu/grasscutter/game/props/EntityIdType.java | 16 ++++++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/src/main/java/emu/grasscutter/game/entity/gadget/GadgetGatherObject.java b/src/main/java/emu/grasscutter/game/entity/gadget/GadgetGatherObject.java index 87451dad7..34c6bda44 100644 --- a/src/main/java/emu/grasscutter/game/entity/gadget/GadgetGatherObject.java +++ b/src/main/java/emu/grasscutter/game/entity/gadget/GadgetGatherObject.java @@ -63,7 +63,8 @@ public final class GadgetGatherObject extends GadgetContent { .getScene() .getScriptManager() .callEvent( - new ScriptArgs(getGadget().getGroupId(), EventType.EVENT_GATHER, getGadget().getConfigId())); + new ScriptArgs( + getGadget().getGroupId(), EventType.EVENT_GATHER, getGadget().getConfigId())); getGadget() .getScene() diff --git a/src/main/java/emu/grasscutter/game/props/EntityIdType.java b/src/main/java/emu/grasscutter/game/props/EntityIdType.java index f9acd0f61..4c333bad9 100644 --- a/src/main/java/emu/grasscutter/game/props/EntityIdType.java +++ b/src/main/java/emu/grasscutter/game/props/EntityIdType.java @@ -18,14 +18,14 @@ public enum EntityIdType { private static final Map map = new HashMap<>(); static { - map.put(EntityIdType.AVATAR.getId(),EntityType.Avatar); - map.put(EntityIdType.MONSTER.getId(),EntityType.Monster); - map.put(EntityIdType.NPC.getId(),EntityType.NPC); - map.put(EntityIdType.GADGET.getId(),EntityType.Gadget); - map.put(EntityIdType.REGION.getId(),EntityType.Region); - map.put(EntityIdType.WEAPON.getId(),EntityType.Equip); - map.put(EntityIdType.TEAM.getId(),EntityType.Team); - map.put(EntityIdType.MPLEVEL.getId(),EntityType.MPLevel); + map.put(EntityIdType.AVATAR.getId(), EntityType.Avatar); + map.put(EntityIdType.MONSTER.getId(), EntityType.Monster); + map.put(EntityIdType.NPC.getId(), EntityType.NPC); + map.put(EntityIdType.GADGET.getId(), EntityType.Gadget); + map.put(EntityIdType.REGION.getId(), EntityType.Region); + map.put(EntityIdType.WEAPON.getId(), EntityType.Equip); + map.put(EntityIdType.TEAM.getId(), EntityType.Team); + map.put(EntityIdType.MPLEVEL.getId(), EntityType.MPLevel); } EntityIdType(int id) {