Skip to content

Commit d966b5c

Browse files
committed
Renamed the function to make it overloadable
1 parent d976879 commit d966b5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/main/java/parallelmc/parallelutils/util/RandomTools.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class RandomTools {
1313
* @param high The second integer
1414
* @return The random integer between low and high, inclusive
1515
*/
16-
public static int betweenTwoIntegers(int low, int high) {
16+
public static int betweenTwoNumbers(int low, int high) {
1717
Random r = new Random();
1818
return r.nextInt(high - low + 1) + low;
1919
}

0 commit comments

Comments
 (0)