Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
6cee82209e
Commit
a95b6db421
@ -52,7 +52,7 @@ public class BlockCounter {
|
|||||||
double countPerTNT = (double) count / tntCount;
|
double countPerTNT = (double) count / tntCount;
|
||||||
double countPerTick = (double) count / Math.max((lastTick - tick), 1);
|
double countPerTick = (double) count / Math.max((lastTick - tick), 1);
|
||||||
if (isActive(player)) {
|
if (isActive(player)) {
|
||||||
return BauSystem.MESSAGE.parsePrefixed("BLOCK_COUNTER_MESSAGE", player, count, tntCount, (int) (countPerTNT * 10) / 10.0, (int) (countPerTick * 10) / 200.0);
|
return BauSystem.MESSAGE.parsePrefixed("BLOCK_COUNTER_MESSAGE", player, count, tntCount, (int) (countPerTNT * 10) / 10.0, (int) (countPerTick * 10) / 10.0 * 20.0);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren