mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-03 06:28:52 +00:00
Custom metrics data, this will probably be avaliable as individual player stats soon.
This commit is contained in:
1 parent
00c0e1054a
commit
38264da852
9 files changed
+64
-44
No files matched your search
@@ -19,6 +19,7 @@
|
||||
package net.h31ix.anticheat.manage;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.EnumMap;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@@ -18,8 +18,6 @@
|
||||
|
||||
package net.h31ix.anticheat.manage;
|
||||
|
||||
import com.google.common.collect.Maps;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
@@ -52,7 +50,6 @@ public enum CheckType
|
||||
ITEM_SPAM("anticheat.itemspam");
|
||||
|
||||
private final String permission;
|
||||
private static final Map<String,CheckType> NAMES = Maps.newHashMap();
|
||||
|
||||
private CheckType(String permission)
|
||||
{
|
||||
@@ -63,18 +60,4 @@ public enum CheckType
|
||||
{
|
||||
return this.permission;
|
||||
}
|
||||
|
||||
public CheckType byName(String name)
|
||||
{
|
||||
return NAMES.get(name);
|
||||
}
|
||||
|
||||
static
|
||||
{
|
||||
for (CheckType type : values())
|
||||
{
|
||||
NAMES.put(type.toString(), type);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user