Custom metrics data, this will probably be avaliable as individual player stats soon.

This commit is contained in:
Adam committed 2012-05-15 21:28:18 -04:00
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);
}
}
}