MCPcopy Create free account
hub / github.com/ZeppelinMC/Zeppelin / formatTimestart

Method formatTimestart

server/server.go:229–232  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

227}
228
229func (srv *Server) formatTimestart() string {
230 sub := time.Since(srv.timeStart)
231 return fmt.Sprintf("%02dhrs %02dmins, %02dsecs", int(sub.Hours())%60, int(sub.Minutes())%60, int(sub.Seconds())%60)
232}
233
234func (srv *Server) createTicker() {
235 //srv.TickManager = tick.New(20, srv.World.Broadcast)

Callers 1

StopMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected