Don't give Winter Holiday Chests to offline players

This commit is contained in:
Shaun Bennett 2015-12-15 13:34:47 -05:00
parent b9a688c4e7
commit 92b82d786b

View File

@ -469,6 +469,9 @@ public class Christmas extends SoloGame
{
if (Manager.IsRewardItems())
{
if (!player.isOnline())
continue;
if (Manager.GetTaskManager().hasCompletedTask(player, "CC Reward 2015"))
{
SetCustomWinMessage(player, "You already earned your reward");