Skip to content

Conversation

@Alessevan
Copy link
Collaborator

All is in the title.

Minecraft_.1.19.2.-.Multiplayer.3rd-party.Server.2023-02-17.18-32-32.mp4

Signed-off-by: BakaAless <44125445+BakaAless@users.noreply.github.com>

public class ConversationManager {

public static final Map<Integer, List<UUID>> CONVERSATIONS_IN_PROGRESS = new HashMap<>();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm what this does is not quite clear from the naming (that it stores npc IDs). Also, is it necessary, considering all open conversations are already stored in "openConversations"?

Also make sure not to use static here (or pretty much anywhere in notquests)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to easily retrieve all the conversations that involve this NPC: the conversations can have several speakers and it is much more complex to retrieve the one that involves the current NPC.

Signed-off-by: BakaAless <44125445+BakaAless@users.noreply.github.com>
Signed-off-by: BakaAless <44125445+BakaAless@users.noreply.github.com>
Signed-off-by: BakaAless <44125445+BakaAless@users.noreply.github.com>
Signed-off-by: BakaAless <44125445+BakaAless@users.noreply.github.com>
Signed-off-by: BakaAless <44125445+BakaAless@users.noreply.github.com>
@AlessioGr AlessioGr merged commit 1856bc5 into AlessioGr:main Feb 21, 2023
@AlessioGr
Copy link
Owner

Thank you so much for this cool PR again <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants