mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-08-25 04:37:44 +00:00
Add AntiBuild to Metrics.
This commit is contained in:
parent
7c687831bc
commit
089fa8c19b
|
@ -176,7 +176,7 @@ public class User extends UserData implements Comparable<User>, IReplyTo, IUser
|
|||
|
||||
public boolean canAfford(final double cost, final boolean permcheck)
|
||||
{
|
||||
if (cost <= 0) { return true; }
|
||||
if (cost <= 0.0) { return true; }
|
||||
final double mon = getMoney();
|
||||
if (!permcheck || isAuthorized("essentials.eco.loan"))
|
||||
{
|
||||
|
|
|
@ -18,6 +18,7 @@ public class MetricsStarter implements Runnable
|
|||
private enum Modules
|
||||
{
|
||||
Essentials,
|
||||
EssentialsAntiBuild,
|
||||
EssentialsAntiCheat,
|
||||
EssentialsChat,
|
||||
EssentialsSpawn,
|
||||
|
|
Loading…
Reference in a new issue