From a25bc46dea3a287999305fab86c849d7f952e591 Mon Sep 17 00:00:00 2001 From: riking Date: Tue, 3 Jun 2014 17:53:00 -0700 Subject: [PATCH] Move tryClose() method in order --- .../libraryaddict/disguise/LibsDisguises.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/me/libraryaddict/disguise/LibsDisguises.java b/src/me/libraryaddict/disguise/LibsDisguises.java index 90137f10..ed68812a 100644 --- a/src/me/libraryaddict/disguise/LibsDisguises.java +++ b/src/me/libraryaddict/disguise/LibsDisguises.java @@ -143,16 +143,6 @@ public class LibsDisguises extends JavaPlugin { return toWrite; } - private static void tryClose(Closeable input) { - if (input != null) { - try { - input.close(); - } catch (IOException e) { - e.printStackTrace(); - } - } - } - /** * Here we create a nms entity for each disguise. Then grab their default values in their datawatcher. Then their sound volume * for mob noises. As well as setting their watcher class and entity size. @@ -305,4 +295,14 @@ public class LibsDisguises extends JavaPlugin { return builder.toString(); } + private void tryClose(Closeable input) { + if (input != null) { + try { + input.close(); + } catch (IOException e) { + e.printStackTrace(); + } + } + } + }