Fix setSendViewDistance's return (#11247)

This commit is contained in:
hyperdefined 2024-08-12 03:27:27 -04:00
parent 0625ce9d09
commit dada30ee8a

View file

@ -4871,7 +4871,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ +
+ public void setSendViewDistance(final int distance) { + public void setSendViewDistance(final int distance) {
+ this.updateViewDistance((final ViewDistances param) -> { + this.updateViewDistance((final ViewDistances param) -> {
+ return param.setTickViewDistance(distance); + return param.setSendViewDistance(distance);
+ }); + });
+ } + }
+ +