소스 검색

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 + "\"");