Removed leftover code from last Olympiad rework.
This commit is contained in:
@@ -333,9 +333,6 @@ public abstract class AbstractOlympiadGame
|
|||||||
player.setCurrentHp(player.getMaxHp());
|
player.setCurrentHp(player.getMaxHp());
|
||||||
player.setCurrentMp(player.getMaxMp());
|
player.setCurrentMp(player.getMaxMp());
|
||||||
player.getStatus().startHpMpRegeneration();
|
player.getStatus().startHpMpRegeneration();
|
||||||
|
|
||||||
// Add invul state.
|
|
||||||
player.setIsInvul(true);
|
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
@@ -383,9 +380,6 @@ public abstract class AbstractOlympiadGame
|
|||||||
player.setCurrentMp(player.getMaxMp());
|
player.setCurrentMp(player.getMaxMp());
|
||||||
player.getStatus().startHpMpRegeneration();
|
player.getStatus().startHpMpRegeneration();
|
||||||
|
|
||||||
// Remove invul state.
|
|
||||||
player.setIsInvul(false);
|
|
||||||
|
|
||||||
if (Config.L2JMOD_DUALBOX_CHECK_MAX_OLYMPIAD_PARTICIPANTS_PER_IP > 0)
|
if (Config.L2JMOD_DUALBOX_CHECK_MAX_OLYMPIAD_PARTICIPANTS_PER_IP > 0)
|
||||||
{
|
{
|
||||||
AntiFeedManager.getInstance().removePlayer(AntiFeedManager.OLYMPIAD_ID, player);
|
AntiFeedManager.getInstance().removePlayer(AntiFeedManager.OLYMPIAD_ID, player);
|
||||||
|
Reference in New Issue
Block a user