mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-01 02:46:41 +00:00
Clean up other compiler warnings
This commit is contained in:
committed by
IronApollo
parent
94ebb81e92
commit
4b5b7b8003
@ -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