Team#isEnemy is pointless

This commit is contained in:
Anuken
2023-05-21 03:59:08 -04:00
parent dc63112915
commit 564e81e734
4 changed files with 4 additions and 2 deletions

View File

@@ -121,6 +121,8 @@ public class Team implements Comparable<Team>{
return isAI() && !rules().rtsAi;
}
/** @deprecated There is absolutely no reason to use this. */
@Deprecated
public boolean isEnemy(Team other){
return this != other;
}