Skip to content

Clear Trivia list during reload #4

@DrZoddiak

Description

@DrZoddiak

https://github.com/SimonFlash/TriviaQuest/blob/master/src/main/java/com/mcsimonflash/sponge/triviaquest/TriviaQuest.java#L92-L98

I noticed that the trivia list isn't being cleared upon reload. This can cause issues like old questions popping up when you don't want them to.
This makes debugging config issues that may not appear in console a big issue, but could also leave an un-fixed question until a server restart.

I would make a PR for this, but I'm just a novice and my solution would include a loop. Glancing at your code I'd guess you'd have a better method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions