The One Probe - Show When Sneaking option not working correctly
MattyIceee opened this issue ยท 3 comments
Describe the bug
When The One Probe - Show When Sneaking option is turned on the extra information is not shown when sneaking. However when the option is turned off all the information is shown correctly all the time, as expected (see screenshots)
To Reproduce
Steps to reproduce the behavior:
- Be sure to have just The One Probe, Optifine, Pixelmon and Pixelmon Information installed
- Be sure to have The One Probe - Show When Sneaking option turned on
- Start singleplayer game and look at pokemon while sneaking
- See that pokemon extended information does not show up
- Change The One Probe - Show When Sneaking off
- look at pokemon normally and see that the information is shown correctly
Expected behavior
The same information that is shown when 'Show When Sneaking' is off should be shown when the option is turned on but only when sneaking (right now it's not at all when the option is enabled, sneak or not)
The One Probe looking at pokemon
Mod Information (please complete the following information):
- Pixelmon Information Version: 0.3.7
- Pixelmon Version: 8.1.2
- The One Probe Version: 1.4.28
- Optifine Version: 1.12.2_HD_U_F5
Additional context
This mod is under-rated keep up the good work!!!
Thank you for the feedback, glad someone likes it ๐
As for the sneak issue, there are options that TOP set using it's own book. I do not remember the three options, but one of them may be needed to turn on while sneaking.
I will check out the code and report back.
I just checked the code logic and found this
if (ModConfig.top.useSneaking == true && ProbeMode == NORMAL) {
// do not show the information in TOP, just return empty
}
I cannot for the life of me remember why I added this check. I do not use TOP, but I think it had something to do with the TOP settings.
Maybe play around with the three TOP settings via it's own book and see if they are shown when you change it.