Fix spin ticket reward threading
This commit is contained in:
parent
273f95f8ff
commit
6d982f3df9
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user