Ragboys is back Posted March 3, 2019 Share Posted March 3, 2019 Topic title. Ty in advance Quote Link to comment Share on other sites More sharing options...
FuryShark Posted March 3, 2019 Share Posted March 3, 2019 (edited) 34 minutes ago, Ragboys is back said: Topic title. Ty in advance getPlayers().closest(p -> p.getPosition().equals(myPlayer())); maybe? ive not tried it before edit: Player insideMe = getPlayers().closest(p -> p != null && p.getPosition().equals(myPlayer().getPosition()) && !p.equals(myPlayer())); worked for me Edited March 3, 2019 by FuryShark Quote Link to comment Share on other sites More sharing options...
Ragboys is back Posted March 3, 2019 Author Share Posted March 3, 2019 2 minutes ago, FuryShark said: getPlayers().closest(p -> p.getPosition().equals(myPlayer())); maybe? ive not tried it before if(getPlayers().closest(p -> p.getPosition().equals(myPlayer()))) Quote Link to comment Share on other sites More sharing options...
FuryShark Posted March 3, 2019 Share Posted March 3, 2019 (edited) 8 minutes ago, Ragboys is back said: if(getPlayers().closest(p -> p.getPosition().equals(myPlayer()))) Player insideMe = getPlayers().closest(p -> p != null && p.getPosition().equals(myPlayer().getPosition()) && !p.equals(myPlayer())); Edited March 3, 2019 by FuryShark 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.