Package me.bimmr.bimmcore.reflection
Class Packets
- java.lang.Object
-
- me.bimmr.bimmcore.reflection.Packets
-
public class Packets extends java.lang.Object
A Utilities class to handle packets
-
-
Constructor Summary
Constructors Constructor Description Packets()
-
Method Summary
Modifier and Type Method Description static void
sendPacket(org.bukkit.entity.Player player, java.lang.Object packet)
Send a packet to a playerstatic void
sendPacket(org.bukkit.entity.Player player, java.lang.Object... packets)
Send packets to player CallssendPacket(Player, Object)
-
-
-
Method Detail
-
sendPacket
public static void sendPacket(org.bukkit.entity.Player player, java.lang.Object packet)
Send a packet to a player- Parameters:
player
- The Playerpacket
- The Packet
-
sendPacket
public static void sendPacket(org.bukkit.entity.Player player, java.lang.Object... packets)
Send packets to player CallssendPacket(Player, Object)
- Parameters:
player
- The Playerpackets
- The packets
-
-