diff --git a/local-pom.xml b/local-pom.xml
index 3af471b..258fad7 100644
--- a/local-pom.xml
+++ b/local-pom.xml
@@ -5,7 +5,7 @@
us.mytheria
BlobLib
- 1.698.13
+ 1.698.15
pom.xml
bloblib
diff --git a/pom.xml b/pom.xml
index eac467b..ab78a19 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
4.0.0
us.mytheria
BlobLib
- 1.698.14
+ 1.698.15
pom
diff --git a/src/main/java/us/mytheria/bloblib/entities/ObjectDirector.java b/src/main/java/us/mytheria/bloblib/entities/ObjectDirector.java
index 22e0810..e83d413 100644
--- a/src/main/java/us/mytheria/bloblib/entities/ObjectDirector.java
+++ b/src/main/java/us/mytheria/bloblib/entities/ObjectDirector.java
@@ -24,7 +24,8 @@
import java.util.function.Function;
import java.util.logging.Level;
-public class ObjectDirector extends Manager implements Listener {
+public class ObjectDirector extends Manager
+ implements Listener, RunnableReloadable {
private final ObjectBuilderManager objectBuilderManager;
private final ObjectManager objectManager;
private final CommandDirector commandDirector;
@@ -365,4 +366,14 @@ public ObjectBuilder getOrDefaultBuilder(UUID uuid) {
"Implement it in constructor.");
return getObjectBuilderManager().getOrDefault(uuid);
}
+
+ @Override
+ public boolean isReloading() {
+ return getObjectManager().isReloading();
+ }
+
+ @Override
+ public void whenReloaded(Runnable runnable) {
+ getObjectManager().whenReloaded(runnable);
+ }
}
diff --git a/src/main/java/us/mytheria/bloblib/entities/ObjectManager.java b/src/main/java/us/mytheria/bloblib/entities/ObjectManager.java
index 35001f8..6913575 100644
--- a/src/main/java/us/mytheria/bloblib/entities/ObjectManager.java
+++ b/src/main/java/us/mytheria/bloblib/entities/ObjectManager.java
@@ -22,12 +22,14 @@
* random access memory and tracked by a key.
*/
public abstract class ObjectManager extends Manager
- implements CommandTarget {
+ implements CommandTarget,
+ RunnableReloadable {
private final File loadFilesDirectory;
private final Supplier