mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 14:38:45 +00:00
Removed coal from xray stats - fixes issue #74
This commit is contained in:
1 parent
9af1e652e4
commit
a0fcfc7013
3 files changed
+4
-26
No files matched your search
@@ -27,12 +27,11 @@ public class XRayStats
|
||||
private double d = 0;
|
||||
private double g = 0;
|
||||
private double i = 0;
|
||||
private double c = 0;
|
||||
private double l = 0;
|
||||
private double r = 0;
|
||||
private double o = 0;
|
||||
|
||||
public XRayStats(String player, Map<String, Integer> diamond, Map<String, Integer> gold, Map<String, Integer> iron, Map<String, Integer> coal, Map<String, Integer> lapis, Map<String, Integer> redstone, Map<String, Integer> other, Map<String, Integer> total)
|
||||
public XRayStats(String player, Map<String, Integer> diamond, Map<String, Integer> gold, Map<String, Integer> iron, Map<String, Integer> lapis, Map<String, Integer> redstone, Map<String, Integer> other, Map<String, Integer> total)
|
||||
{
|
||||
if (total.get(player) != null)
|
||||
{
|
||||
@@ -50,10 +49,6 @@ public class XRayStats
|
||||
{
|
||||
i = (iron.get(player) / t) * DIVISOR;
|
||||
}
|
||||
if (coal.get(player) != null)
|
||||
{
|
||||
c = (coal.get(player) / t) * DIVISOR;
|
||||
}
|
||||
if (lapis.get(player) != null)
|
||||
{
|
||||
l = (lapis.get(player) / t) * DIVISOR;
|
||||
@@ -88,11 +83,6 @@ public class XRayStats
|
||||
return i;
|
||||
}
|
||||
|
||||
public double getCoal()
|
||||
{
|
||||
return c;
|
||||
}
|
||||
|
||||
public double getLapis()
|
||||
{
|
||||
return l;
|
||||
|
||||
Reference in new issue
Block a user