Changes input of getDurationString to long
This commit is contained in:
parent
89456b370b
commit
8b4f841ead
@ -25,7 +25,7 @@ public final class TimeFormatter {
|
|||||||
*
|
*
|
||||||
* @return <p>The string used for displaying this sign's duration</p>
|
* @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) {
|
if (duration == 0) {
|
||||||
return Translator.getTranslatedMessage(TranslatableTimeUnit.UNIT_NOW);
|
return Translator.getTranslatedMessage(TranslatableTimeUnit.UNIT_NOW);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user