mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-09-09 12:38:01 +02:00
parent
5ce8217cd5
commit
e66ab1be0d
@ -232,7 +232,7 @@ public abstract class AbstractLuckPermsPlugin implements LuckPermsPlugin {
|
||||
|
||||
// close file watcher
|
||||
if (this.fileWatcher != null) {
|
||||
//this.fileWatcher.close();
|
||||
this.fileWatcher.close();
|
||||
}
|
||||
|
||||
// unregister api
|
||||
|
@ -183,7 +183,11 @@ public abstract class AbstractFileWatcher implements AutoCloseable {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void close() throws IOException {
|
||||
public void close() {
|
||||
try {
|
||||
this.service.close();
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user