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

Method Decode

protocol/net/packet/play/updateTime.go:26–31  ·  view source on GitHub ↗
(r encoding.Reader)

Source from the content-addressed store, hash-verified

24}
25
26func (u *UpdateTime) Decode(r encoding.Reader) error {
27 if err := r.Long(&u.WorldAge); err != nil {
28 return err
29 }
30 return r.Long(&u.TimeOfDay)
31}

Callers

nothing calls this directly

Calls 1

LongMethod · 0.45

Tested by

no test coverage detected