Format code [skip actions]

This commit is contained in:
github-actions 2023-06-16 18:06:43 +00:00
parent 6b3f19e588
commit e382c6d691

View File

@ -155,10 +155,13 @@ public class Inventory extends BasePlayerManager implements Iterable<GameItem> {
getPlayer() getPlayer()
.getBattlePassManager() .getBattlePassManager()
.triggerMission( .triggerMission(
WatcherTriggerType.TRIGGER_OBTAIN_MATERIAL_NUM, result.getItemId(), result.getCount()); WatcherTriggerType.TRIGGER_OBTAIN_MATERIAL_NUM,
result.getItemId(),
result.getCount());
getPlayer() getPlayer()
.getQuestManager() .getQuestManager()
.queueEvent(QuestContent.QUEST_CONTENT_OBTAIN_ITEM, result.getItemId(), result.getCount()); .queueEvent(
QuestContent.QUEST_CONTENT_OBTAIN_ITEM, result.getItemId(), result.getCount());
} catch (Exception e) { } catch (Exception e) {
Grasscutter.getLogger().debug("triggerAddItemEvents failed", e); Grasscutter.getLogger().debug("triggerAddItemEvents failed", e);
} }