mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-23 04:57:18 +00:00
"implement" ContentEnterMyWorld
, with debugging information attached
This commit is contained in:
parent
1786169782
commit
e350cd42f9
@ -12,6 +12,8 @@ public class ContentEnterMyWorld extends BaseContent {
|
|||||||
@Override
|
@Override
|
||||||
public boolean execute(
|
public boolean execute(
|
||||||
GameQuest quest, QuestData.QuestContentCondition condition, String paramStr, int... params) {
|
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];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user