浏览代码

Small typo

RedstoneFuture 2 年之前
父节点
当前提交
5338690d46
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      missilewars-plugin/src/main/java/de/butzlabben/missilewars/configuration/Lobby.java

+ 1 - 1
missilewars-plugin/src/main/java/de/butzlabben/missilewars/configuration/Lobby.java

@@ -72,7 +72,7 @@ public class Lobby {
     @Setter private transient File file;
 
     public World getBukkitWorld() {
-        World world = Bukkit.getWorld(getWorldName());
+        World world = Bukkit.getWorld(worldName);
         if (world == null) {
             Logger.ERROR.log("Could not find any world with the name: " + worldName);
             Logger.ERROR.log("Please correct this in the configuration of lobby \"" + name + "\"");