-
-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
view distance #1557
view distance #1557
Conversation
@@ -103,6 +103,15 @@ | |||
|
|||
@Setting(value = "weather-ice-and-snow", comment = "Enable to allow the natural formation of ice and snow in supported biomes.") | |||
private boolean weatherIceAndSnow = true; | |||
|
|||
public static final int USE_SERVER_VIEW_DISTANCE = -1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be exposed in the API?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would a clearCustomViewDistance()
method make sense instead?
|
||
public void setViewDistance(final int viewDistance) { | ||
this.viewDistance = viewDistance; | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New line while you're at it?
Signed-off-by: Gabriel Harris-Rouquette <gabizou@me.com>
SpongeAPI | SpongeCommon