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:
@@ -523,6 +523,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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user