9
0
mirror of https://github.com/HibiscusMC/HibiscusCommons.git synced 2025-12-19 15:09:26 +00:00

chore: reimplement generic method

This commit is contained in:
Logan
2025-10-13 11:22:30 -05:00
parent 6c2049e1f6
commit 3fb20b0fc8
6 changed files with 6 additions and 6 deletions

View File

@@ -561,6 +561,6 @@ public class NMSPackets extends NMSCommon implements me.lojosho.hibiscuscommons.
final ClientboundSetEntityDataPacket dataPacket = getSharedEntityPacket(entityId, GENERIC_INVISIBLE_DATA_VALUES);
ClientboundBundlePacket bundlePacket = new ClientboundBundlePacket(List.of(spawnPacket, dataPacket));
sendPacket(sendTo, bundlePacket);
for (Player p : sendTo) sendPacket(p, bundlePacket);
}
}