mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-24 03:43:01 +08:00
Format code [skip actions]
This commit is contained in:
parent
6b3f19e588
commit
e382c6d691
@ -155,10 +155,13 @@ public class Inventory extends BasePlayerManager implements Iterable<GameItem> {
|
||||
getPlayer()
|
||||
.getBattlePassManager()
|
||||
.triggerMission(
|
||||
WatcherTriggerType.TRIGGER_OBTAIN_MATERIAL_NUM, result.getItemId(), result.getCount());
|
||||
WatcherTriggerType.TRIGGER_OBTAIN_MATERIAL_NUM,
|
||||
result.getItemId(),
|
||||
result.getCount());
|
||||
getPlayer()
|
||||
.getQuestManager()
|
||||
.queueEvent(QuestContent.QUEST_CONTENT_OBTAIN_ITEM, result.getItemId(), result.getCount());
|
||||
.queueEvent(
|
||||
QuestContent.QUEST_CONTENT_OBTAIN_ITEM, result.getItemId(), result.getCount());
|
||||
} catch (Exception e) {
|
||||
Grasscutter.getLogger().debug("triggerAddItemEvents failed", e);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user