From 6300dc9ca5db9f578805efcd8563ca21ed63dd31 Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Thu, 7 Apr 2016 09:11:46 +0200 Subject: [PATCH] Removed extracting outdated files from JAR --- .../src/sznp/virtualcomputer/PluginMain.java | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/VirtualComputer/src/sznp/virtualcomputer/PluginMain.java b/VirtualComputer/src/sznp/virtualcomputer/PluginMain.java index ec6a363..9cc8ec5 100644 --- a/VirtualComputer/src/sznp/virtualcomputer/PluginMain.java +++ b/VirtualComputer/src/sznp/virtualcomputer/PluginMain.java @@ -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())