fixed some bugs

This commit is contained in:
Mini-Chiss 2015-08-08 13:51:37 +02:00
parent fa7f19bde5
commit e030331565
2 changed files with 4 additions and 2 deletions

View File

@ -99,7 +99,8 @@ public class KothManager extends MiniPlugin
//All peices are always same color! //All peices are always same color!
for (OutfitTeam outfit : _teamArmor) for (OutfitTeam outfit : _teamArmor)
{ {
return outfit.getTeamColor(player); if (outfit.IsActive(player))
return outfit.getTeamColor(player);
} }
return null; return null;

View File

@ -322,7 +322,8 @@ public class SoccerManager extends MiniPlugin
//All peices are always same color! //All peices are always same color!
for (OutfitTeam outfit : _teamArmor) for (OutfitTeam outfit : _teamArmor)
{ {
return outfit.getTeamColor(player); if (outfit.IsActive(player))
return outfit.getTeamColor(player);
} }
return null; return null;