mirror of
https://github.com/kami-blue/client
synced 2025-04-06 17:43:11 +00:00
Fixed antibookkick and close #870
This commit is contained in:
parent
ac32f946bc
commit
a759b25552
@ -24,7 +24,7 @@ import static me.zeroeightsix.kami.util.MessageSendHelper.sendWarningMessage;
|
|||||||
)
|
)
|
||||||
public class AntiBookKick extends Module {
|
public class AntiBookKick extends Module {
|
||||||
@EventHandler
|
@EventHandler
|
||||||
public Listener<PacketEvent.Receive> listener = new Listener<>(event -> {
|
public Listener<PacketEvent.PostSend> listener = new Listener<>(event -> {
|
||||||
if (!(event.getPacket() instanceof CPacketClickWindow)) return;
|
if (!(event.getPacket() instanceof CPacketClickWindow)) return;
|
||||||
final CPacketClickWindow packet = (CPacketClickWindow) event.getPacket();
|
final CPacketClickWindow packet = (CPacketClickWindow) event.getPacket();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user