We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i fix a shit code in CheckTaoYi Command
CheckTaoYi Command
public boolean checkDistance(TeamExecutor.Team team, int max, BiConsumer<TeamExecutor.Team,Boolean> success){ if (team == TeamExecutor.Team.NONE){ return false; } else { TeamExecutor.Team enemyTeam = teamExecutor.getEnemyTeam(team); int distance = (int) teamExecutor.getPlayer(enemyTeam) .getLocation() .distance(teamExecutor.getStartGameLocation().get(enemyTeam)); success.accept(enemyTeam,Math.abs(distance) > max); } return true; }
the contributer use functional interface BiConsumer<TeamExecutor.Team,Boolean> is bad YouM is shit coder i fixed it to improve readability
BiConsumer<TeamExecutor.Team,Boolean>
i add config, user can use config.yml to update escaped max distance
please accept my pull requests
The text was updated successfully, but these errors were encountered:
thanks, I agree with you about YouM is shit coder X_huihui will merge your pr please wait some times
Sorry, something went wrong.
xiaohuihui1022
YOM667
No branches or pull requests
Improve Readability
i fix a shit code in
CheckTaoYi Command
the contributer use functional interface
BiConsumer<TeamExecutor.Team,Boolean>
is badYouM is shit coder
i fixed it to improve readability
Configuration
i add config, user can use config.yml to update escaped max distance
please accept my pull requests
The text was updated successfully, but these errors were encountered: