Apotheosis

Apotheosis

78M Downloads

[Suggestion] Use debug logger instead of printStackTrace() for EnchModuleClient::tooltips

lcy0x1 opened this issue ยท 0 comments

commented

In EnchModuleClient::tooltips, the block.getStateForPlacement is wrapped with try-catch block, but the catch block is printing the stack trace directly. This would spam the logs for 10k lines with log level info when a block's blockstate cannot be retrived during SearchTree building.

By using log level debug to print the stack trace, it would no longer spam the log and help to improve the readability of logs.