Fix enforcementHandler being null in WorldConfigNodes

This commit is contained in:
Ben Woo 2024-10-12 13:43:49 +08:00
parent 7868a1971e
commit 42cfd9dcc4

View File

@ -28,7 +28,7 @@ public class WorldConfigNodes {
private LoadedMultiverseWorld world = null;
WorldConfigNodes(@NotNull MultiverseCore multiverseCore) {
this.enforcementHandler = multiverseCore.getServiceLocator().getActiveService(EnforcementHandler.class);
this.enforcementHandler = multiverseCore.getServiceLocator().getService(EnforcementHandler.class);
}
LoadedMultiverseWorld getWorld() {