Sodium gets the view distance directly instead of using the getter method
IMS212 opened this issue ยท 7 comments
This causes Vanilla to not run the server view distance check, and returns the client distance even if the server distance is smaller which is unintended behavior as of 1.18.
Is this as simple as calling GameOptions#getViewDistance
here instead of reading the field directly?
Would it be possible to have an option to switch between "chunks outside the server render distance should remain loaded until they are also outside the client render distance" (something like pre-1.18 behavior) and "the client render distance is capped by the server one" (1.18)?
Seems like that should work (tested locally and everything seemed fine), @HybridEidolon don't forget to change the usage here as well!
Looks like it wasn't linked but now that #1050 was merged this should be able to be closed