Changes input of getDurationString to long

This commit is contained in:
Kristian Knarvik 2022-11-07 02:01:37 +01:00
parent 89456b370b
commit 8b4f841ead

View File

@ -25,7 +25,7 @@ public final class TimeFormatter {
*
* @return <p>The string used for displaying this sign's duration</p>
*/
public static String getDurationString(int duration) {
public static String getDurationString(long duration) {
if (duration == 0) {
return Translator.getTranslatedMessage(TranslatableTimeUnit.UNIT_NOW);
} else {