Skip to content

Commit

Permalink
chore: rename method
Browse files Browse the repository at this point in the history
  • Loading branch information
SettingDust committed Apr 11, 2024
1 parent f28fde2 commit 16ddabb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class PlayerDialogueTrackerMixin {
private @Nullable DialogueStateMachine currentDialogue;

@Inject(method = "endDialogue", at = @At("HEAD"))
private void dialogueStarted(final CallbackInfo ci) {
EntrypointKt.dialogueStarted(currentDialogue.getId(), (ServerPlayerEntity) player);
private void dialogueEnded(final CallbackInfo ci) {
EntrypointKt.dialogueEnded(currentDialogue.getId(), (ServerPlayerEntity) player);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fun init() {
QuestRewards.register(ChatReward.Type)
}

fun dialogueStarted(dialogue: Identifier, playerEntity: ServerPlayerEntity) {
fun dialogueEnded(dialogue: Identifier, playerEntity: ServerPlayerEntity) {
QuestProgressHandler.getProgress(playerEntity.server, playerEntity.uuid)
.testAndProgressTaskType(playerEntity, Pair.of(false, dialogue), ChatTask.Type)
}
Expand Down

0 comments on commit 16ddabb

Please sign in to comment.