Commit cc50baf2 authored by Benj's avatar Benj Committed by Luke H-W
Browse files

versionFix must be >= 50 not == 50 in RegionHandler

parent a18a15bd
...@@ -144,7 +144,7 @@ public final class RegionHandler implements Router { ...@@ -144,7 +144,7 @@ public final class RegionHandler implements Router {
int versionMinor = Integer.parseInt(versionName.split(".")[1]); int versionMinor = Integer.parseInt(versionName.split(".")[1]);
int versionFix = Integer.parseInt(versionName.split(".")[2]); int versionFix = Integer.parseInt(versionName.split(".")[2]);
if (versionMajor >= 3 || (versionMajor == 2 && versionMinor == 7 && versionFix == 50) || (versionMajor == 2 && versionMinor == 8)) { if (versionMajor >= 3 || (versionMajor == 2 && versionMinor == 7 && versionFix >= 50) || (versionMajor == 2 && versionMinor == 8)) {
try { try {
QueryCurrentRegionEvent event = new QueryCurrentRegionEvent(regionData); event.call(); QueryCurrentRegionEvent event = new QueryCurrentRegionEvent(regionData); event.call();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment