mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-17 11:05:04 +00:00
Update and fix Iris' shader menus (#1828)
This commit is contained in:
1 parent
183bcfbf41
commit
f78cfdd5fb
27 files changed
+597
-83
No files matched your search
@@ -10,6 +10,7 @@ import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
import java.util.Locale;
|
||||
import java.util.Map;
|
||||
import java.util.Properties;
|
||||
import java.util.Set;
|
||||
@@ -33,7 +34,7 @@ public class LanguageMap {
|
||||
stream.filter(path -> !Files.isDirectory(path)).forEach(path -> {
|
||||
// Also note that OptiFine uses a property scheme for loading language entries to keep parity with other
|
||||
// OptiFine features
|
||||
final String currentFileName = path.getFileName().toString();
|
||||
final String currentFileName = path.getFileName().toString().toLowerCase(Locale.ROOT);
|
||||
|
||||
if (!currentFileName.endsWith(".lang")) {
|
||||
// This file lacks a .lang file extension and should be ignored.
|
||||
|
||||
Reference in new issue
Block a user