Closed Thource closed 1 year ago
Oops, I did check showTick and showPlayerTick but maybe it was 1 based and I made it 0 based? Glad it’s fixed anyway :)
Yeah that, and also if config.tickCount() was set to 1, it would just stay at 0 instead of cycling through the numbers when you simplified it to 1 switch statement; though I am now just realizing that it can be fixed by adding checks to see if (config.tickCount() == 1) in the overlay files to choose which variable to display.
Hey, you actually changed the whole implementation along with fixing the issue, it looks like you didn't take into account that the tickCounter number is actually shown to the client if the feature is on. So simplifying the implementation like you did would mess up the showTick and showPlayerTick features.
I went ahead and made my own commit with the fix you made but did it without changing the plugin implementation, hope you don't mind. Thanks for fixing the issue.