mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
fix: 0 seconds in cooldown shows empty space, close #615
This commit is contained in:
1 file changed
+1
-1
@@ -107,7 +107,7 @@ public interface TransactionResolver {
|
||||
if (minutes > 0) {
|
||||
formattedDuration.add(minutes + "m");
|
||||
}
|
||||
if (seconds > 0) {
|
||||
if (seconds >= 0) {
|
||||
formattedDuration.add(seconds + "s");
|
||||
}
|
||||
return formattedDuration.toString();
|
||||
|
||||
Reference in new issue
Block a user