mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-20 12:19:55 +00:00
#1383 Travel Anchor crash
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user