mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-26 18:49:06 +00:00
No RTE on closing a closed mantle
This commit is contained in:
@@ -192,7 +192,7 @@ public class Mantle {
|
||||
public synchronized void close() {
|
||||
Iris.debug("Closing The Mantle " + C.DARK_AQUA + dataFolder.getAbsolutePath());
|
||||
if (closed.get()) {
|
||||
throw new RuntimeException("The Mantle is closed");
|
||||
return;
|
||||
}
|
||||
|
||||
closed.set(true);
|
||||
|
||||
Reference in New Issue
Block a user