Merge branch 'master' of ssh://184.154.0.242:7999/min/mineplex
This commit is contained in:
commit
aa77821c20
@ -88,8 +88,8 @@ public class AchievementMainPage extends ShopPageBase<AchievementManager, Achiev
|
|||||||
PlayerStats stats = _statsManager.Get(_target);
|
PlayerStats stats = _statsManager.Get(_target);
|
||||||
for (int i = 0; i < statsToDisplay.length && i < max; i++)
|
for (int i = 0; i < statsToDisplay.length && i < max; i++)
|
||||||
{
|
{
|
||||||
// Skip showing Wins and Losses for other players
|
// Skip showing Losses, Kills, Deaths for other players
|
||||||
if ((!Player.equals(_target)) && (statsToDisplay[i].equalsIgnoreCase("Wins") || statsToDisplay[i].equalsIgnoreCase("Losses")))
|
if ((!Player.equals(_target)) && (statsToDisplay[i].equalsIgnoreCase("Losses") || statsToDisplay[i].contains("Kills") || statsToDisplay[i].contains("Deaths")))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
String statName = statsToDisplay[i];
|
String statName = statsToDisplay[i];
|
||||||
|
@ -162,8 +162,8 @@ public class AchievementPage extends ShopPageBase<AchievementManager, Achievemen
|
|||||||
String[] friendlyStatNames = _category.getFriendlyStatNames();
|
String[] friendlyStatNames = _category.getFriendlyStatNames();
|
||||||
for (int i = 0; i < statsToDisplay.length; i++)
|
for (int i = 0; i < statsToDisplay.length; i++)
|
||||||
{
|
{
|
||||||
// Skip showing Wins and Losses for other players
|
// Skip showing Losses, Kills, Deaths for other players
|
||||||
if ((!Player.equals(_target)) && (statsToDisplay[i].equalsIgnoreCase("Wins") || statsToDisplay[i].equalsIgnoreCase("Losses")))
|
if ((!Player.equals(_target)) && (statsToDisplay[i].equalsIgnoreCase("Losses") || statsToDisplay[i].contains("Kills") || statsToDisplay[i].contains("Deaths")))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
int statNumber = 0;
|
int statNumber = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user