Compatibility
Minecraft: Java Edition
1.21
1.20.x
Platforms
Creators
Details
Licensed MIT
Published last year
Updated last year
Changelog
Changelog for version 2.0.4
Fixed:
-
API Initialization:
- Added additional validation during API initialization.
HTGLoggersAPInow checks if it has already been initialized and throws anIllegalStateExceptionin case of a reinitialization attempt. Instead of a warning logged in the console, improper reinitialization now results in an exception.
- Added additional validation during API initialization.
-
Handling Empty Plugin Names:
- Fixed an issue where empty or null plugin names could be passed to the
createLogFilemethod. The method now validates thepluginNameparameter and logs an error if the name is invalid.
- Fixed an issue where empty or null plugin names could be passed to the
Added:
-
Enhanced Exception Handling:
- Implemented detailed exception handling when creating log files. Any errors related to folder or file creation are now logged at the
SEVERElevel, including the full stack trace.
- Implemented detailed exception handling when creating log files. Any errors related to folder or file creation are now logged at the
-
Expanded Parameter Validation:
- Added validation for the plugin name in the
createLogFilemethod. The method now checks if the plugin name is neither empty nor null before attempting to create a log file.
- Added validation for the plugin name in the
Removed:
- Unnecessary API Reinitialization Warning:
- Removed the logic that warned about API reinitialization and replaced it with an exception. This prevents potential errors in the future.
Files
Metadata
Release channel
BetaVersion number
2.0.4-preleaseLoaders
Game versions
1.20–1.20.6Downloads
36Publication date
September 22, 2024 at 3:25 PMPublisher

tojawg_06302
CEO, HTG Ceo


