#1383 Travel Anchor crash

This commit is contained in:
CrazyPants committed 2014-12-11 13:43:13 +08:00
1 parent 4b32659dc1
commit 5cc63eacf6
2 files changed
+5 -1

No files matched your search

@@ -546,6 +546,10 @@ public class TravelController {
public double getScaleForCandidate(Vector3d loc) {
if(!currentView.isValid()) {
return 1;
}
BlockCoord bc = new BlockCoord((int) loc.x, (int) loc.y, (int) loc.z);
float ratio = -1;
Float r = candidates.get(bc);