[Bug]: Sun detection gets offset when coordinates are negative
TBiscuit1 opened this issue ยท 2 comments
Minecraft Version
1.20.1
(Neo)Forge Version
47.3.0
Vampirism Version
1.10.11
Modpack
No response
Singleplayer/Multiplayer
Both
What happened?
When you are a vampire, the sun detection seems to be offset by 1 in the x axis, causing the player to burn in places where they shouldn't and vice versa
For example, when I'm directly under a log, I start burning which is not normal
However, if I go 1 block negatively in the x axis, (to the left of the log) I stop burning all of a sudden
If it is supposed to have some sun offset depending on the time, then it is not working because this bug happens at any time of the day and always +1 in the x axis
Relevant log output
No response
Reproduce steps
No response
Other relevant mods
No response
After further analysis, it only happens if the x coords is negative, which means it is likely also happening in the z axis (In my experiment my z coord was 2800)