mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 03:31:15 +03:00
[FIX] getPackageFromClass
This commit is contained in:
parent
be565e2218
commit
2709cbe95f
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ public void run(ServerWrapper.Config config, String[] args) throws Throwable {
|
|||
}
|
||||
|
||||
private static String getPackageFromClass(String clazz) {
|
||||
int index = clazz.indexOf(".");
|
||||
int index = clazz.lastIndexOf(".");
|
||||
if(index >= 0) {
|
||||
return clazz.substring(0, index);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue