mirror of
https://github.com/CosmicStar98/bedrocktool.git
synced 2024-06-18 12:39:46 +00:00
clean realm names for paths
This commit is contained in:
parent
9ef5a7b803
commit
4dd09c2941
2
skins.go
2
skins.go
|
@ -103,7 +103,7 @@ func (skin *Skin) Write(output_path, name string) error {
|
|||
}
|
||||
}
|
||||
|
||||
var name_regexp = regexp.MustCompile(`§.`)
|
||||
var name_regexp = regexp.MustCompile(`\||(?:§.?)`)
|
||||
|
||||
// cleans name so it can be used as a filename
|
||||
func cleanup_name(name string) string {
|
||||
|
|
Loading…
Reference in New Issue
Block a user