This commit is contained in:
parent
4e01c3e4e9
commit
6985663cbf
2 changed files with 3 additions and 3 deletions
|
@ -58,7 +58,7 @@ public class Ping extends Feature {
|
|||
}
|
||||
|
||||
@Override
|
||||
public void onTick() {
|
||||
public synchronized void onTick() {
|
||||
while (true) {
|
||||
PacketHolder holder = this.holderSend.peek();
|
||||
if(holder == null || !holder.passed())
|
||||
|
@ -75,7 +75,7 @@ public class Ping extends Feature {
|
|||
}
|
||||
}
|
||||
|
||||
public void onDisable() {
|
||||
public synchronized void onDisable() {
|
||||
totalRecieved = 0;
|
||||
totalSent = 0;
|
||||
if(notIngame()) {
|
||||
|
|
|
@ -69,7 +69,7 @@ public class Configuration {
|
|||
}
|
||||
}
|
||||
if(fullDB.getSub("PlayerData") != null)
|
||||
PlayerDB.Data.cloneFrom(fullDB.getSub("PlayerData"));
|
||||
PlayerDB.Data.cloneFrom(fullDB.getSub("PlayerData"));
|
||||
}
|
||||
|
||||
public static TCN asTCN() {
|
||||
|
|
Loading…
Add table
Reference in a new issue