mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-24 06:15:38 +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()
|
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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user