Skip to content
This repository was archived by the owner on Dec 1, 2023. It is now read-only.

Remove redundant util methods#8

Merged
LeStegii merged 2 commits intoKettleMC-Network:rewritefrom
Almighty-Satan:utils
May 29, 2023
Merged

Remove redundant util methods#8
LeStegii merged 2 commits intoKettleMC-Network:rewritefrom
Almighty-Satan:utils

Conversation

@Almighty-Satan
Copy link
Copy Markdown
Contributor

Replaces Utils#getPlayerSize with Bukkit.getOnlinePlayers().size() and uses JDA's MarkdownSanitizer instead of Utils#replaceFormats. A positive side effect is that MarkdownSanitizer escapes spoilers while Utils#replaceFormats did not.

@LeStegii LeStegii merged commit b7cc1e1 into KettleMC-Network:rewrite May 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants