final BlockFace face = door.getFacing(); final Vector toPlayer = GeneralMethods.getDirection(block.getLocation(), this.player.getLocation().getBlock().getLocation()); final double[] dims = { toPlayer.getX(), toPlayer.getY(), toPlayer.getZ() };
final BlockFace face = door.getFacing(); final Vector toPlayer = GeneralMethods.getDirection(block.getLocation(), this.player.getLocation().getBlock().getLocation()); final double[] dims = { toPlayer.getX(), toPlayer.getY(), toPlayer.getZ() };