From e350cd42f99f2695180d6ce46b95e2b167d03a98 Mon Sep 17 00:00:00 2001 From: KingRainbow44 Date: Mon, 1 May 2023 19:42:35 -0400 Subject: [PATCH] "implement" `ContentEnterMyWorld`, with debugging information attached --- .../grasscutter/game/quest/content/ContentEnterMyWorld.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/emu/grasscutter/game/quest/content/ContentEnterMyWorld.java b/src/main/java/emu/grasscutter/game/quest/content/ContentEnterMyWorld.java index 20e46b6ee..180e1f8d5 100644 --- a/src/main/java/emu/grasscutter/game/quest/content/ContentEnterMyWorld.java +++ b/src/main/java/emu/grasscutter/game/quest/content/ContentEnterMyWorld.java @@ -12,6 +12,8 @@ public class ContentEnterMyWorld extends BaseContent { @Override public boolean execute( GameQuest quest, QuestData.QuestContentCondition condition, String paramStr, int... params) { - return condition.getParam()[0] == params[0]; + System.out.printf("ContentEnterMyWorld, QuestData: %s; ExecParams: %s%n", + condition.getParam()[0], params[0]); + return quest.getOwner().getSceneId() == params[0]; } }