From 4afbf7abb3865454f49c80933de064c47fc16356 Mon Sep 17 00:00:00 2001 From: Sollace Date: Mon, 5 Nov 2018 16:49:42 +0200 Subject: [PATCH] Fix typo --- build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 4b79b7fd..d1a5caf2 100644 --- a/build.gradle +++ b/build.gradle @@ -113,8 +113,8 @@ archivesBaseName = "mod-${project.name.toLowerCase()}" task copyBGPones(type: Copy) { delete "${buildDir}/skins/assets/minelittlepony/textures/entity/pony" - // 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 + // 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 def permittedChars = /[^0-9a-z_-\",\t\{\}\[\]\(\):\'\.\/ ]/ from("skins/Background Ponies") { @@ -131,7 +131,7 @@ task copyBGPones(type: Copy) { filter { line -> line.toLowerCase() - .replaceAll(permittedCharsJSON, '') + .replaceAll(permittedChars, '') } }