diff --git a/README.md b/README.md index 22ee9866..50aeeffb 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Usage Installing ---------- -1. Download the latest release: [https://github.com/MassiveCraft/Factions/downloads](https://github.com/MassiveCraft/Factions/downloads)
+1. Download the latest release: [http://dev.bukkit.org/server-mods/factions/](http://dev.bukkit.org/server-mods/factions/)
1. Put Factions.jar in the plugins folder. A default config file will be created on the first run. diff --git a/src/com/massivecraft/factions/integration/EssentialsFeatures.java b/src/com/massivecraft/factions/integration/EssentialsFeatures.java index 25058292..b199fd06 100644 --- a/src/com/massivecraft/factions/integration/EssentialsFeatures.java +++ b/src/com/massivecraft/factions/integration/EssentialsFeatures.java @@ -115,7 +115,6 @@ public class EssentialsFeatures private static class LocalChatListener implements Listener { - @SuppressWarnings("unused") @EventHandler(priority = EventPriority.NORMAL) public void onPlayerChat(EssentialsLocalChatEvent event) { diff --git a/src/com/massivecraft/factions/zcore/util/DiscUtil.java b/src/com/massivecraft/factions/zcore/util/DiscUtil.java index b9ecc0a6..09ed9bc0 100644 --- a/src/com/massivecraft/factions/zcore/util/DiscUtil.java +++ b/src/com/massivecraft/factions/zcore/util/DiscUtil.java @@ -94,6 +94,7 @@ public class DiscUtil ReadableByteChannel rbc = Channels.newChannel(url.openStream()); FileOutputStream fos = new FileOutputStream(file); fos.getChannel().transferFrom(rbc, 0, 1 << 24); + fos.close(); return true; } catch (Exception e)