fixed some bugs
This commit is contained in:
parent
fa7f19bde5
commit
e030331565
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user