Giveaway manager bug fix
This commit is contained in:
parent
05b52614fe
commit
ec3427bcc0
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user