Fix an issue with custom player info packets

This commit is contained in:
libraryaddict 2022-12-28 17:36:50 +13:00
parent d26b450ad3
commit bb7adc46a4

View File

@ -46,7 +46,7 @@ public class PacketListenerTabList extends PacketAdapter {
Iterator<PlayerInfoData> itel = list.iterator();
Iterator<PlayerInfoAction> actionItel = actions.iterator();
while (itel.hasNext()) {
while (itel.hasNext() && actionItel.hasNext()) {
PlayerInfoData data = itel.next();
if (NmsVersion.v1_19_R2.isSupported()) {