Add coordinate fix from 1.11.2 branch, see 2dd52ce
This commit is contained in:
@@ -76,8 +76,8 @@ public class Clairvoyance extends Spell {
|
|||||||
if(path != null && path.getFinalPathPoint() != null){
|
if(path != null && path.getFinalPathPoint() != null){
|
||||||
|
|
||||||
int x = path.getFinalPathPoint().xCoord;
|
int x = path.getFinalPathPoint().xCoord;
|
||||||
int y = path.getFinalPathPoint().xCoord;
|
int y = path.getFinalPathPoint().yCoord;
|
||||||
int z = path.getFinalPathPoint().xCoord;
|
int z = path.getFinalPathPoint().zCoord;
|
||||||
|
|
||||||
if(x == destination.getX() && y == destination.getY() && z == destination.getZ()){
|
if(x == destination.getX() && y == destination.getY() && z == destination.getZ()){
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user