Skip to content

Commit

Permalink
Fix for Forge/Litematica.
Browse files Browse the repository at this point in the history
  • Loading branch information
noobanidus committed Mar 30, 2024
1 parent d6a6b3c commit 8ea5055
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -35,6 +35,10 @@ public static void addEntry(Level level, BlockPos position) {
return;
}

if (ServerLifecycleHooks.getCurrentServer() == null) {
return;
}

ResourceKey<Level> dimension = level.dimension();
if (ConfigManager.isDimensionBlocked(dimension)) {
return;
Expand Down

0 comments on commit 8ea5055

Please sign in to comment.