mirror of
https://github.com/CosmicStar98/bedrocktool.git
synced 2024-06-13 06:59:44 +00:00
10 lines
228 B
Plaintext
10 lines
228 B
Plaintext
package main
|
|
|
|
func (w *WorldState) getPacks() (packs map[string]*resource.Pack, err error) {
|
|
packs = make(map[string]*resource.Pack)
|
|
for _, pack := range w.ServerConn.ResourcePacks() {
|
|
packs[pack.Name()] = pack
|
|
}
|
|
return
|
|
}
|