The great Escape

- Adresses #1324
This commit is contained in:
simibubi 2021-04-03 19:50:42 +02:00
parent 69c3a57c76
commit b845809b58

View File

@ -40,11 +40,7 @@ public class FilesHelper {
}
public static String slug(String name) {
return Lang.asId(name)
.replace(' ', '_')
.replace('!', '_')
.replace(':', '_')
.replace('?', '_');
return Lang.asId(name).replaceAll("\\W+", "_");
}
public static boolean saveTagCompoundAsJson(CompoundNBT compound, String path) {