Fix error handling coords < 0 that allowed incorrect anchor teleporting

This commit is contained in:
tterrag1098 committed 2015-04-11 22:33:56 -04:00
1 parent 48c253d3ed
commit 91b455e20f
1 file changed
+1 -1
@@ -556,7 +556,7 @@ public class TravelController {
return 1;
}
BlockCoord bc = new BlockCoord((int) loc.x, (int) loc.y, (int) loc.z);
BlockCoord bc = new BlockCoord(loc.x, loc.y, loc.z);
float ratio = -1;
Float r = candidates.get(bc);
if(r != null) {