diff --git a/src/main/java/emu/grasscutter/command/commands/QuestCommand.java b/src/main/java/emu/grasscutter/command/commands/QuestCommand.java index 63f5f9c1c..6ab98c9b3 100644 --- a/src/main/java/emu/grasscutter/command/commands/QuestCommand.java +++ b/src/main/java/emu/grasscutter/command/commands/QuestCommand.java @@ -9,10 +9,10 @@ import java.util.List; import static emu.grasscutter.utils.Language.translate; -@Command(label = "quest", - aliases = {"q"}, - usage = {"(add|finish) []"}, - permission = "player.quest", +@Command(label = "quest", + aliases = {"q"}, + usage = {"(add|finish) []"}, + permission = "player.quest", permissionTargeted = "player.quest.others") public final class QuestCommand implements CommandHandler { diff --git a/src/main/java/emu/grasscutter/game/props/ItemUseAction/ItemUseGainFlycloak.java b/src/main/java/emu/grasscutter/game/props/ItemUseAction/ItemUseGainFlycloak.java index 15c904c57..536e94351 100644 --- a/src/main/java/emu/grasscutter/game/props/ItemUseAction/ItemUseGainFlycloak.java +++ b/src/main/java/emu/grasscutter/game/props/ItemUseAction/ItemUseGainFlycloak.java @@ -16,7 +16,7 @@ public class ItemUseGainFlycloak extends ItemUseInt { @Override public boolean useItem(UseItemParams params) { - if (GameData.getAvatarFlycloakDataMap().containsKey(this.i)) { + if (GameData.getAvatarFlycloakDataMap().containsKey(this.i)) { params.player.addFlycloak(this.i); } return true;