Giveaway manager bug fix

This commit is contained in:
Shaun Bennett 2015-11-09 04:08:26 -05:00
parent 05b52614fe
commit ec3427bcc0

View File

@ -79,7 +79,7 @@ public class GiveawayManager extends MiniDbClientPlugin<PlayerGiveawayData>
if (_repository.canGiveaway(accountId, giveawayName, cooldownName))
{
UUID uuid = UUID.randomUUID();
if (_repository.addGiveaway(accountId, giveaway.getId(), cooldown.getId(), _statusManager.getRegion(), _statusManager.getName(), uuid))
if (_repository.addGiveaway(accountId, giveaway.getId(), cooldown.getId(), _statusManager.getRegion(), _statusManager.getCurrentServerName(), uuid))
{
response = new GiveawayResponse(uuid);
}