diff --git a/README.md b/README.md
index 2b8a6b7..7cca163 100644
--- a/README.md
+++ b/README.md
@@ -47,7 +47,7 @@ See [FAQ](#FAQ)
dev.cerus.maps
common
- 3.0.0
+ 3.0.1
provided
@@ -56,7 +56,7 @@ See [FAQ](#FAQ)
dev.cerus.maps
plugin
- 3.0.0
+ 3.0.1
provided
diff --git a/bukkit-16_R3/pom.xml b/bukkit-16_R3/pom.xml
index 81144b6..6fe180d 100644
--- a/bukkit-16_R3/pom.xml
+++ b/bukkit-16_R3/pom.xml
@@ -5,7 +5,7 @@
parent
dev.cerus.maps
- 3.0.0
+ 3.0.1
4.0.0
diff --git a/bukkit-17_R1/pom.xml b/bukkit-17_R1/pom.xml
index f2516e7..04fdf1d 100644
--- a/bukkit-17_R1/pom.xml
+++ b/bukkit-17_R1/pom.xml
@@ -5,7 +5,7 @@
parent
dev.cerus.maps
- 3.0.0
+ 3.0.1
4.0.0
diff --git a/bukkit-18_R1/pom.xml b/bukkit-18_R1/pom.xml
index 9e7eb8c..53ac00c 100644
--- a/bukkit-18_R1/pom.xml
+++ b/bukkit-18_R1/pom.xml
@@ -5,7 +5,7 @@
parent
dev.cerus.maps
- 3.0.0
+ 3.0.1
4.0.0
diff --git a/bukkit-18_R2/pom.xml b/bukkit-18_R2/pom.xml
index 32a68fc..207b986 100644
--- a/bukkit-18_R2/pom.xml
+++ b/bukkit-18_R2/pom.xml
@@ -5,7 +5,7 @@
parent
dev.cerus.maps
- 3.0.0
+ 3.0.1
4.0.0
diff --git a/bukkit-19_R1/pom.xml b/bukkit-19_R1/pom.xml
index b3c5713..eb10527 100644
--- a/bukkit-19_R1/pom.xml
+++ b/bukkit-19_R1/pom.xml
@@ -5,7 +5,7 @@
parent
dev.cerus.maps
- 3.0.0
+ 3.0.1
4.0.0
diff --git a/common/pom.xml b/common/pom.xml
index e632fbb..26b017c 100644
--- a/common/pom.xml
+++ b/common/pom.xml
@@ -5,7 +5,7 @@
parent
dev.cerus.maps
- 3.0.0
+ 3.0.1
4.0.0
diff --git a/common/src/main/java/dev/cerus/maps/api/graphics/MapGraphics.java b/common/src/main/java/dev/cerus/maps/api/graphics/MapGraphics.java
index 63f4e21..b63306b 100644
--- a/common/src/main/java/dev/cerus/maps/api/graphics/MapGraphics.java
+++ b/common/src/main/java/dev/cerus/maps/api/graphics/MapGraphics.java
@@ -960,9 +960,7 @@ public int index(final int x, final int y) {
}
public int index(final int x, final int y, final int w, final int h) {
- final int a = w >= h ? x : y;
- final int b = w >= h ? y : x;
- return a + b * Math.max(w, h);
+ return x + y * Math.max(w, h);
}
}
diff --git a/plugin/pom.xml b/plugin/pom.xml
index 831e9c0..9827ff2 100644
--- a/plugin/pom.xml
+++ b/plugin/pom.xml
@@ -5,7 +5,7 @@
parent
dev.cerus.maps
- 3.0.0
+ 3.0.1
4.0.0
diff --git a/pom.xml b/pom.xml
index 080e97d..9368f68 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,7 +7,7 @@
dev.cerus.maps
parent
pom
- 3.0.0
+ 3.0.1
common
bukkit-16_R3