Olympiad Hero points fix.

Contributed by Sahar.
This commit is contained in:
MobiusDev 2015-08-30 08:12:40 +00:00
parent c9105038b8
commit 0be5922910

View File

@ -1051,7 +1051,7 @@ public class Olympiad extends ListenersContainer
} }
final int rank = NOBLES_RANK.get(objId); final int rank = NOBLES_RANK.get(objId);
int points = (player.isHero() ? Config.ALT_OLY_HERO_POINTS : 0); int points = (player.isHero() || Hero.getInstance().isUnclaimedHero(player.getObjectId()) ? Config.ALT_OLY_HERO_POINTS : 0);
switch (rank) switch (rank)
{ {
case 1: case 1: