Removed throws declaration
This commit is contained in:
parent
347c6d40a4
commit
e6179f447f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue