No RTE on closing a closed mantle

This commit is contained in:
cyberpwn 2021-08-17 23:46:25 -04:00
parent 583b74fb7e
commit d0b8c59769

View File

@ -192,7 +192,7 @@ public class Mantle {
public synchronized void close() { public synchronized void close() {
Iris.debug("Closing The Mantle " + C.DARK_AQUA + dataFolder.getAbsolutePath()); Iris.debug("Closing The Mantle " + C.DARK_AQUA + dataFolder.getAbsolutePath());
if (closed.get()) { if (closed.get()) {
throw new RuntimeException("The Mantle is closed"); return;
} }
closed.set(true); closed.set(true);