fix not displaying 20tps
This commit is contained in:
parent
11bf631ed8
commit
dffa5246a2
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ public class Ctserver implements ModInitializer {
|
||||||
//LOGGER.info(String.valueOf(timeBetween));
|
//LOGGER.info(String.valueOf(timeBetween));
|
||||||
//LOGGER.info(String.valueOf(mspt));
|
//LOGGER.info(String.valueOf(mspt));
|
||||||
//LOGGER.info(String.valueOf(tps));
|
//LOGGER.info(String.valueOf(tps));
|
||||||
if (tps < 20) {
|
if (tps <= 20) {
|
||||||
CompletableFuture.runAsync(() -> {
|
CompletableFuture.runAsync(() -> {
|
||||||
try {
|
try {
|
||||||
sendPostRequest("http://us-ky-medium-0004.knijn.one:58926/tps", String.valueOf(tps));
|
sendPostRequest("http://us-ky-medium-0004.knijn.one:58926/tps", String.valueOf(tps));
|
||||||
|
|
Loading…
Reference in a new issue