Browse Source

fixing small typos

RedstoneFuture 3 năm trước cách đây
mục cha
commit
ce97c544a9

+ 3 - 3
missilewars-plugin/src/main/java/de/butzlabben/missilewars/Config.java

@@ -46,11 +46,11 @@ public class Config {
 
     public static void load() {
 
-        // check if the directory "/MissileWars" is exist
+        // check if the directory "/MissileWars" exists
         if (!dir.exists())
             dir.mkdirs();
 
-        // check if the config file is exist
+        // check if the config file exists
         if (!file.exists()) {
             try {
                 file.createNewFile();
@@ -159,7 +159,7 @@ public class Config {
     }
 
     /**
-     * This methode get the material of the block to start the missile.
+     * This method gets the minecraft material type of the block to start missiles.
      */
     public static Material getStartReplace() {
         String name = cfg.getString("replace.material").toUpperCase();

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

@@ -40,11 +40,11 @@ public class MessageConfig {
 
     public static void load() {
 
-        // check if the directory "/MissileWars" is exist
+        // check if the directory "/MissileWars" exists
         if (!dir.exists())
             dir.mkdirs();
 
-        // check if the config file is exist
+        // check if the config file exists
         if (!file.exists()) {
             try {
                 file.createNewFile();

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

@@ -83,7 +83,7 @@ public class SetupUtil {
     public static void checkMissiles() {
         File file = new File(MissileWars.getInstance().getDataFolder(), "missiles");
 
-        // check if the directory "/missiles" is exist
+        // check if the directory "/missiles" exists
         if (!file.isDirectory()) {
             Logger.BOOT.log("Copying default missiles folder");