mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-03-16 08:30:03 +01:00
Fix typo
This commit is contained in:
parent
6b99c307dd
commit
4afbf7abb3
1 changed files with 3 additions and 3 deletions
|
@ -113,8 +113,8 @@ archivesBaseName = "mod-${project.name.toLowerCase()}"
|
||||||
task copyBGPones(type: Copy) {
|
task copyBGPones(type: Copy) {
|
||||||
delete "${buildDir}/skins/assets/minelittlepony/textures/entity/pony"
|
delete "${buildDir}/skins/assets/minelittlepony/textures/entity/pony"
|
||||||
|
|
||||||
// use the same rejex for both filenames and the bgponies.json
|
// use the same rejex for both filenames and the bgponies.json
|
||||||
// Otherwise there could be errors because of the names in the json not matching the ones on disk
|
// Otherwise there could be errors because of the names in the json not matching the ones on disk
|
||||||
def permittedChars = /[^0-9a-z_-\",\t\{\}\[\]\(\):\'\.\/ ]/
|
def permittedChars = /[^0-9a-z_-\",\t\{\}\[\]\(\):\'\.\/ ]/
|
||||||
|
|
||||||
from("skins/Background Ponies") {
|
from("skins/Background Ponies") {
|
||||||
|
@ -131,7 +131,7 @@ task copyBGPones(type: Copy) {
|
||||||
|
|
||||||
filter { line ->
|
filter { line ->
|
||||||
line.toLowerCase()
|
line.toLowerCase()
|
||||||
.replaceAll(permittedCharsJSON, '')
|
.replaceAll(permittedChars, '')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue