Merge pull request #281 from Gabik21/tablist-improvement
Don't send ping update twice (1.7)
This commit is contained in:
@@ -65,7 +65,7 @@ public class VelocityTabListLegacy extends VelocityTabList {
|
||||
if (nameMapping.containsKey(item.getName())) { // ADD_PLAYER also used for updating ping
|
||||
VelocityTabListEntry entry = entries.get(nameMapping.get(item.getName()));
|
||||
if (entry != null) {
|
||||
entry.setLatency(item.getLatency());
|
||||
entry.setLatencyInternal(item.getLatency());
|
||||
}
|
||||
} else {
|
||||
UUID uuid = UUID.randomUUID(); // Use a fake uuid to preserve function of custom entries
|
||||
|
Reference in New Issue
Block a user