瀏覽代碼

Revert: method move

RedstoneFuture 2 年之前
父節點
當前提交
eee819fd40

+ 9 - 9
missilewars-plugin/src/main/java/de/butzlabben/missilewars/util/geometry/GameArea.java

@@ -158,15 +158,6 @@ public class GameArea {
                 position2.getBlockX(), position2.getBlockY(), position2.getBlockZ());
     }
 
-    /**
-     * This method returns the arena length along the X coordinate.
-     *
-     * @return (Integer) the X size
-     */
-    public int getXSize() {
-        return maxX - minX;
-    }
-
     /**
      * This method defines the horizontal direction / rotation of the
      * area based on the alignment of the team spawn points.
@@ -179,6 +170,15 @@ public class GameArea {
         EAST_WEST
     }
 
+    /**
+     * This method returns the arena length along the X coordinate.
+     *
+     * @return (Integer) the X size
+     */
+    public int getXSize() {
+        return maxX - minX;
+    }
+
     /**
      * This method returns the arena length along the Y coordinate.
      *