Skip to content

Commit 4d92964

Browse files
authored
Merge pull request #3287 from Multiverse/fix/worldkey
Fix missing world placeholder in BUKKIT_CREATION_FAILED message
2 parents ad3fe9e + 3443b17 commit 4d92964

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/org/mvplugins/multiverse/core/world/WorldManager.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -765,6 +765,7 @@ private Attempt<World, WorldCreatorFailureReason> createBukkitWorld(WorldCreator
765765
}).andFinally(() -> {
766766
this.loadTracker.remove(worldCreator.name());
767767
}).fold(throwable -> Attempt.failure(WorldCreatorFailureReason.BUKKIT_CREATION_FAILED,
768+
Replace.WORLD.with(worldCreator.name()),
768769
Replace.ERROR.with(throwable)),
769770
Attempt::success);
770771
}

0 commit comments

Comments
 (0)