clean up ping calculator

This commit is contained in:
Bella 2019-12-09 18:24:40 -05:00
parent 97be21243f
commit 158fa888ee
1 changed files with 1 additions and 3 deletions

View File

@ -3,8 +3,6 @@ package me.zeroeightsix.kami.module.modules.sdashb.util;
import net.minecraft.client.Minecraft;
import net.minecraft.launchwrapper.LogWrapper;
import static net.minecraft.launchwrapper.LogWrapper.log;
/**
* @author S-B99
* Created by S-B99 on 04/12/19
@ -24,7 +22,7 @@ public class CalcPing {
try {
return mc.getConnection().getPlayerInfo(mc.player.getUniqueID()).getResponseTime();
} catch (NullPointerException npe) {
LogWrapper.info("Caught NPE l27 CalcPing.java");
LogWrapper.info("Caught NPE l25 CalcPing.java");
}
return -1;
}