geforkt von Mirrors/Velocity
Merge pull request #281 from Gabik21/tablist-improvement
Don't send ping update twice (1.7)
Dieser Commit ist enthalten in:
Commit
98b03376e5
@ -65,7 +65,7 @@ public class VelocityTabListLegacy extends VelocityTabList {
|
|||||||
if (nameMapping.containsKey(item.getName())) { // ADD_PLAYER also used for updating ping
|
if (nameMapping.containsKey(item.getName())) { // ADD_PLAYER also used for updating ping
|
||||||
VelocityTabListEntry entry = entries.get(nameMapping.get(item.getName()));
|
VelocityTabListEntry entry = entries.get(nameMapping.get(item.getName()));
|
||||||
if (entry != null) {
|
if (entry != null) {
|
||||||
entry.setLatency(item.getLatency());
|
entry.setLatencyInternal(item.getLatency());
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
UUID uuid = UUID.randomUUID(); // Use a fake uuid to preserve function of custom entries
|
UUID uuid = UUID.randomUUID(); // Use a fake uuid to preserve function of custom entries
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren