Browse Source

Small typo

RedstoneFuture 1 year ago
parent
commit
a78a37853e

+ 2 - 2
missilewars-plugin/src/main/java/de/butzlabben/missilewars/MissileWars.java

@@ -150,7 +150,7 @@ public class MissileWars extends JavaPlugin {
     }
 
     /**
-     * This method registers all events of the missilewars event listener.
+     * This method registers all events of the MissileWars event listener.
      */
     private void registerEvents() {
         playerListener = new PlayerListener();
@@ -161,7 +161,7 @@ public class MissileWars extends JavaPlugin {
     }
 
     /**
-     * This method loads the command manager and registers the missilewars commands.
+     * This method loads the command manager and registers the MissileWars commands.
      */
     private void registerCommands() {
         Logger.BOOT.log("Registering commands");

+ 2 - 2
missilewars-plugin/src/main/java/de/butzlabben/missilewars/game/signs/SignRepository.java

@@ -78,7 +78,7 @@ public class SignRepository {
                  JsonReader reader = new JsonReader(new InputStreamReader(in, StandardCharsets.UTF_8))) {
                 return gson.fromJson(reader, SignRepository.class);
             } catch (IOException e) {
-                Logger.WARN.log("Could not load missilewars signs: Error: " + e.getMessage());
+                Logger.WARN.log("Could not load MissileWars signs: Error: " + e.getMessage());
             }
 
         }
@@ -103,7 +103,7 @@ public class SignRepository {
             writer.setIndent("  ");
             gson.toJson(this, SignRepository.class, writer);
         } catch (Exception e) {
-            Logger.WARN.log("Could not save missilewars signs: Error: " + e.getMessage());
+            Logger.WARN.log("Could not save MissileWars signs: Error: " + e.getMessage());
         }
     }
 

+ 1 - 1
missilewars-plugin/src/main/java/de/butzlabben/missilewars/util/serialization/LocationTypeAdapter.java

@@ -65,7 +65,7 @@ public class LocationTypeAdapter extends TypeAdapter<Location> {
                     String worldName = in.nextString();
                     World world = Bukkit.getWorld(worldName);
                     if (world == null) {
-                        Logger.WARN.log("Could not find world \"" + worldName + "\" which is specified at one missilewars sign");
+                        Logger.WARN.log("Could not find world \"" + worldName + "\" which is specified at one MissileWars sign");
                     }
                     location.setWorld(world);
                     break;