Cannot intercept CHUNKS_BIOMES
CJCrafter opened this issue ยท 3 comments
- This issue is not solved in a development build
Describe the bug
Cannot intercept ClientboundChunksBiomesPacket
(CHUNKS_BIOMES
)
To Reproduce
Try this code:
public class BiomesPacketListener extends PacketAdapter {
public BiomesPacketListener(Plugin plugin) {
super(plugin, ListenerPriority.NORMAL, PacketType.Play.Server.CHUNKS_BIOMES);
System.out.println("Yes, this part actually happened"); // this message can be seen in console
}
@Override
public void onPacketReceiving(PacketEvent event) {
System.out.println(event.getPacketType()); // this message does not occur
}
@Override
public void onPacketSending(PacketEvent event) {
System.out.println(event.getPacketType()); // this message does not occur
}
}
Expected behavior
Upon logging into the server, or a player loading chunks, or changing dimensions, I expected to intercept this packet.
Screenshots
If applicable, add screenshots to help explain your problem.
Version Info
Dump and log attached
dump-2023-06-25_19.10.39.txt
latest.log
I don't mean to be pushy, no time constraint, but if you can figure out what silly thing I did wrong or implement a fix I got a $15
one-time sponsorship for @dmulloy2.