-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
67 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 7 additions & 6 deletions
13
src/main/java/net/mvndicraft/townywaypoints/settings/TownyWaypointsSettings.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
package net.mvndicraft.townywaypoints.settings; | ||
|
||
public class TownyWaypointsSettings { | ||
public static int getMaxDistance() | ||
{ | ||
public static int getMaxDistance() { | ||
return Settings.getInt(ConfigNodes.WAYPOINTS_RESTRICTIONS_MAX_DISTANCE); | ||
} | ||
|
||
public static int getCooldown() | ||
{ | ||
public static int getCooldown() { | ||
return Settings.getInt(ConfigNodes.WAYPOINTS_RESTRICTIONS_COOLDOWN); | ||
} | ||
|
||
public static boolean getPeerToPeer() | ||
{ | ||
public static boolean getPeerToPeer() { | ||
return Settings.getBoolean(ConfigNodes.WAYPOINTS_RESTRICTIONS_PEER_TO_PEER); | ||
} | ||
|
||
public static double getSplit() { | ||
return Settings.getDouble(ConfigNodes.WAYPOINTS_ECONOMY_SPLIT); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters