From e6179f447fb7ada0cb2ccfb490cba34c5671f50f Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Tue, 1 Nov 2016 22:22:50 +0100 Subject: [PATCH] Removed throws declaration --- src/main/java/buttondevteam/lib/TBMCPlayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/buttondevteam/lib/TBMCPlayer.java b/src/main/java/buttondevteam/lib/TBMCPlayer.java index a6e6118..a15f266 100644 --- a/src/main/java/buttondevteam/lib/TBMCPlayer.java +++ b/src/main/java/buttondevteam/lib/TBMCPlayer.java @@ -437,7 +437,7 @@ public class TBMCPlayer implements AutoCloseable { * Therefore, the recommended use is to call it when using {@link #GetPlayer} or use try-with-resources. */ @Override - public void close() throws Exception { + public void close() { if (!Bukkit.getPlayer(uuid).isOnline()) getLoadedPlayers().remove(uuid); }