[ci skip]

This commit is contained in:
Etil
2021-09-19 16:06:27 +02:00
committed by GitHub
parent 7b082fedae
commit 9984de9a35

View File

@@ -68,7 +68,7 @@ index 9bede6a26c08ede063c7a38f1149c811df14b258..fdc642ce8d45b5dd9aef02d0adc67913
+ long toAskedUnit = unit.convert( nanos, nanosUnit );
+ long ms = nanosUnit.toMillis( nanos );
+ ChatColor startingColor = ms < 40 ? ChatColor.GREEN : ( ms < 50 ) ? ChatColor.YELLOW : ChatColor.RED;
+ return startingColor.toString() + toAskedUnit + ChatColor.GOLD + org.sugarcanemc.sugarcane.util.TimeUtils.getFriendlyName( unit );
+ return startingColor.toString() + toAskedUnit + ChatColor.GOLD + xyz.arthurb.mirai.server.util.TimeUtils.getFriendlyName( unit );
+ }
+ // Sugarcane end
}