Removed throws declaration

This commit is contained in:
Norbi Peti 2016-11-01 22:22:50 +01:00
parent 347c6d40a4
commit e6179f447f

View file

@ -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);
}