mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-06 16:50:39 +00:00
Corrected code to conform with the rest of the class
This commit is contained in:
@@ -115,7 +115,7 @@ public class Timer {
|
|||||||
* @param startAmount start amount
|
* @param startAmount start amount
|
||||||
* @return hourly gains
|
* @return hourly gains
|
||||||
*/
|
*/
|
||||||
public int getPerHour(final int gained, int startAmount) {
|
public int getPerHour(final int gained, final int startAmount) {
|
||||||
return (int) (((gained - startAmount) * 3600000D) / (System.currentTimeMillis() - start));
|
return (int) (((gained - startAmount) * 3600000D) / (System.currentTimeMillis() - start));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user