mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-20 20:22:12 +00:00
Fix error handling coords < 0 that allowed incorrect anchor teleporting
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user