Fix errors
This commit is contained in:
parent
bf1f62057c
commit
062328313e
@ -725,7 +725,7 @@ public class BonusManager extends MiniClientPlugin<BonusClientData> implements I
|
|||||||
if (gold > 0)
|
if (gold > 0)
|
||||||
{
|
{
|
||||||
UtilPlayer.message(player, F.main("Carl", "Rewarded " + F.elem(gold + " Gold")));
|
UtilPlayer.message(player, F.main("Carl", "Rewarded " + F.elem(gold + " Gold")));
|
||||||
_donationManager.RewardGold(new Callback<Boolean>()
|
_donationManager.rewardGold(new Callback<Boolean>()
|
||||||
{
|
{
|
||||||
@Override
|
@Override
|
||||||
public void run(Boolean data)
|
public void run(Boolean data)
|
||||||
|
@ -70,7 +70,7 @@ public abstract class RepositoryBase implements Listener
|
|||||||
{
|
{
|
||||||
return DSL.using(DBPool.ACCOUNT, SQLDialect.MYSQL);
|
return DSL.using(DBPool.ACCOUNT, SQLDialect.MYSQL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Requirements: {@link Connection}s must be closed after usage so they may be returned to the pool!
|
* Requirements: {@link Connection}s must be closed after usage so they may be returned to the pool!
|
||||||
* @see Connection#close()
|
* @see Connection#close()
|
||||||
@ -90,11 +90,6 @@ public abstract class RepositoryBase implements Listener
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected DSLContext jooq()
|
|
||||||
{
|
|
||||||
return DSL.using(_dataSource, SQLDialect.MYSQL);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Execute a query against the repository.
|
* Execute a query against the repository.
|
||||||
* @param query - the concatenated query to execute in string form.
|
* @param query - the concatenated query to execute in string form.
|
||||||
|
Loading…
Reference in New Issue
Block a user