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