@Override
public void doRender(Entity entity, double d, double d1, double d2, float f, float f1)
{
bindEntityTexture(entity);
EntityFlag flag = (EntityFlag)entity;
int teamID = flag.getTeamID();
Team team = FlansModClient.getTeam(teamID);
if(team == null)
{
//Give each team a default colour
switch(teamID)