Skip to content

Clear MiniPlaceholders on reload and plugin disable #200

@BlitzOffline

Description

@BlitzOffline

I've added a clear method to the MiniPlaceholderManager and completely forgot to use it. When the plugin is reloaded or disabled, the old placeholders are not being removed. This shouldn't be a big issue on disable unless people use plugins such as PlugMan but on /chatchat reload this could lead to conflicts and issues.

miniPlaceholders();
miniPlaceholders.placeholders().forEach(placeholder -> plugin.miniPlaceholdersManager().addPlaceholder(placeholder));

Metadata

Metadata

Assignees

Labels

IssueSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions