Merge branch 'master' of ssh://184.154.0.242:7999/min/Mineplex

This commit is contained in:
Jonathan Williams 2014-08-09 08:11:01 -05:00
commit dffc56e3e0
2 changed files with 4 additions and 2 deletions

View File

@ -993,7 +993,8 @@ public class GameLobbyManager implements IPacketRunnable, Listener
}
if (ent.GetKit().GetAvailability() == KitAvailability.Free || //Free
donor.OwnsUnknownPackage(Manager.GetGame().GetName() + " " + ent.GetKit().GetName())) //Green or Blue
donor.OwnsUnknownPackage(Manager.GetGame().GetName() + " " + ent.GetKit().GetName()) || //Green
donor.OwnsUnknownPackage(Manager.GetServerConfig().ServerType + " ULTRA")) //Old - Single Game Ultra
{
entityName = ent.GetKit().GetAvailability().GetColor() + entityName;
}

View File

@ -314,7 +314,8 @@ public class GamePlayerManager implements Listener
Donor donor = Manager.GetDonation().Get(player.getName());
if (kit.GetAvailability() == KitAvailability.Free || //Free
donor.OwnsUnknownPackage(Manager.GetGame().GetName() + " " + kit.GetName())) //Green
donor.OwnsUnknownPackage(Manager.GetGame().GetName() + " " + kit.GetName()) || //Green
donor.OwnsUnknownPackage(Manager.GetServerConfig().ServerType + " ULTRA")) //OLD - Single Game Ultras
{
Manager.GetGame().SetKit(player, kit, true);
}