SHARE
TWEET

Untitled

a guest Jan 19th, 2020 99 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         List<Position> positions = player.getPosition().area(1, pos -> !pos.equals(player.getPosition()) && (pos.getTile() == null || pos.getTile().clipping == 0 || !pos.equals(player.getPosition().getX() +- 1)) && !pos.equals(player.getPosition().getY() +- 1));
  2.         Position pos = positions.remove(Random.get(positions.size() - 1));
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top