mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-02 19:36:41 +00:00
Clean up other compiler warnings
This commit is contained in:
@ -85,7 +85,7 @@ public final class FileDialogUtil {
|
||||
if (index == -1 || index == path.length() - 1) {
|
||||
return false;
|
||||
} else {
|
||||
return exts.contains(path.indexOf(index + 1));
|
||||
return exts.contains(path.substring(index + 1));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user