diff --git a/ServerWrapper/src/main/java11/pro/gravit/launcher/server/launch/ModuleLaunch.java b/ServerWrapper/src/main/java11/pro/gravit/launcher/server/launch/ModuleLaunch.java index ffe102a6..2539d3dd 100644 --- a/ServerWrapper/src/main/java11/pro/gravit/launcher/server/launch/ModuleLaunch.java +++ b/ServerWrapper/src/main/java11/pro/gravit/launcher/server/launch/ModuleLaunch.java @@ -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); }