**STILL LOOKING FOR SOMEONE**
I'm reading in many places you can use ProtocolLib to avoid sending the packets for the heart particle when someone is damaged.
Looking to get a quote for someone that can do this, thank you.
Daoshi#1130 or
Robb PvP - YouTube#5312
Heres what I found, Obviously I have no idea if it works or if it's efficient.
I'm reading in many places you can use ProtocolLib to avoid sending the packets for the heart particle when someone is damaged.
Looking to get a quote for someone that can do this, thank you.
Daoshi#1130 or
Robb PvP - YouTube#5312
Heres what I found, Obviously I have no idea if it works or if it's efficient.
Code:
manager.addPacketListener(new PacketAdapter(this, ListenerPriority.HIGH, PacketType.Play.Server.WORLD_PARTICLES) {
@Override
public void onPacketSending(PacketEvent event) {
PacketContainer packet = event.getPacket();
if (event.getPacketType() == PacketType.Play.Server.WORLD_PARTICLES) {
if (packet.getEntityModifier(event).read(0) instanceof Player) {
Player p = (Player) packet.getEntityModifier(event).read(0);
packet.getIntegers().write(0, 0);
}
}
}
});
Last edited:
