-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TFM 5.0.2 Release #2176
base: devel
Are you sure you want to change the base?
TFM 5.0.2 Release #2176
Conversation
…TFM1.13-Alpha # Conflicts: # pom.xml
…inal hard coded blocked tag list and moved to the config file
…s versions and look to have also fixed the issue with BStats
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good, apart from a small mistake.
src/main/java/me/totalfreedom/totalfreedommod/command/Command_tag.java
Outdated
Show resolved
Hide resolved
Added required new line.
…from being banned.
This should fix the memory leak I suspect.
{ | ||
// Load banned tags | ||
blockedTags.clear(); | ||
blockedTags.addAll((Collection<? extends String>) ConfigEntry.BLOCKED_TAGS.getList()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need a separate service for loading this list. Especially since we're never adding to it. You can simply use ConfigEntry.BLOCKED_TAGS.getList()
anywhere you need it. Lookup should be pretty fast and without I/O.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just going to go and facepalm. Apparently I decided over-engineering it was the best way. Thanks for the heads up, I'll make appropriate changes.
@Wild1145 you didn’t modify to dependency to point to EssentialsX. |
No description provided.