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