Fix spin ticket reward threading

This commit is contained in:
Alexander Meech 2016-10-25 12:49:16 -04:00 committed by Shaun Bennett
parent 273f95f8ff
commit 6d982f3df9

View File

@ -83,7 +83,10 @@ public class SpinTicketReward extends Reward
{
final int newTickets = rs.getInt(1);
ticketCallback.run(newTickets);
_clientManager.runSync(() ->
{
ticketCallback.run(newTickets);
});
}
}
catch (Exception e)
@ -117,4 +120,4 @@ public class SpinTicketReward extends Reward
}
return false;
}
}
}