Skip to content

Commit

Permalink
Release 2.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
NotMyFault committed Oct 4, 2022
1 parent 4b01518 commit 45c5b92
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ configurations.all {
}

group = "com.intellectualsites.fastasyncvoxelsniper"
version = "2.7.3-SNAPSHOT"
version = "2.8.0"

bukkit {
name = "FastAsyncVoxelSniper"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public VoxelSniperConfig(
*
* @return {@code true} if to check for updates periodically, {@code false} otherwise.
* @see VoxelSniperConfigLoader#isUpdateCheckerEnabled()
* @since TODO
* @since 2.8.0
*/
public boolean isUpdateCheckerEnabled() {
return this.updateCheckerEnabled;
Expand All @@ -88,7 +88,7 @@ public boolean isUpdateCheckerEnabled() {
*
* @return interval in hours
* @see VoxelSniperConfigLoader#getUpdateCheckerInterval()
* @since TODO
* @since 2.8.0
*/
public int getUpdateCheckerInterval() {
return this.updateCheckerInterval;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ protected void setConfigVersion(int version) {
* Return if update checker is enabled.
*
* @return {@code true} if to check for updates periodically, {@code false} otherwise.
* @since TODO
* @since 2.8.0
*/
public boolean isUpdateCheckerEnabled() {
return this.config.getBoolean(UPDATE_CHECKER_ENABLED, DEFAULT_UPDATE_CHECKER_ENABLED);
Expand All @@ -182,7 +182,7 @@ public boolean isUpdateCheckerEnabled() {
* Set the update checker be enabled or disabled.
*
* @param enabled Update checker enabled
* @since TODO
* @since 2.8.0
*/
public void enableUpdateChecker(boolean enabled) {
this.config.set(UPDATE_CHECKER_ENABLED, enabled);
Expand All @@ -192,7 +192,7 @@ public void enableUpdateChecker(boolean enabled) {
* Return update interval in hours.
*
* @return interval in hours
* @since TODO
* @since 2.8.0
*/
public int getUpdateCheckerInterval() {
return Math.max(MIN_UPDATE_CHECKER_INTERVAL, this.config.getInt(UPDATE_CHECKER_INTERVAL, DEFAULT_UPDATE_CHECKER_INTERVAL));
Expand All @@ -202,7 +202,7 @@ public int getUpdateCheckerInterval() {
* Set the update checker waiting interval.
*
* @param interval Period to wait in hours in-between checks
* @since TODO
* @since 2.8.0
*/
public void setUpdateCheckerInterval(int interval) {
this.config.set(UPDATE_CHECKER_INTERVAL, interval);
Expand Down

0 comments on commit 45c5b92

Please sign in to comment.