Removed extracting outdated files from JAR
This commit is contained in:
parent
5420b8f574
commit
6300dc9ca5
1 changed files with 0 additions and 19 deletions
|
@ -44,25 +44,6 @@ public class PluginMain extends JavaPlugin
|
|||
final File[] libs = new File[] { // added to class path
|
||||
new File(getDataFolder(), "jni4net.j-0.8.8.0.jar"),
|
||||
new File(getDataFolder(), "VirtualComputerSender.j4n.jar") };
|
||||
final File[] libs2 = new File[] {
|
||||
new File(getDataFolder(), "jni4net.n-0.8.8.0.dll"),
|
||||
new File(getDataFolder(), "jni4net.n.w64.v40-0.8.8.0.dll") };
|
||||
for (final File lib : libs)
|
||||
{
|
||||
if (!lib.exists())
|
||||
{
|
||||
JarUtils.extractFromJar(lib.getName(),
|
||||
lib.getAbsolutePath());
|
||||
}
|
||||
}
|
||||
for (final File lib : libs2)
|
||||
{
|
||||
if (!lib.exists())
|
||||
{
|
||||
JarUtils.extractFromJar(lib.getName(),
|
||||
lib.getAbsolutePath());
|
||||
}
|
||||
}
|
||||
for (final File lib : libs)
|
||||
{
|
||||
if (!lib.exists())
|
||||
|
|
Loading…
Reference in a new issue