I need help in JavaScript of liquidbounce b100
Unsolved
ScriptAPI
-
I really want to ask for help, and ask a master who knows Liquid Bounce Legacy B100 JavaScript to help me solve this problem.My JavaScript:
*- var script = registerScript({
-
name: "TestScript",
-
version: "1.0",
-
authors: ["test"]
- })
- var C03PacketPlayer = Java.type("net.minecraft.network.play.client.C03PacketPlayer")
- script.registerModule({
-
name: "TestScript",
-
description: "testscrpit",
-
category: "Combat"
- }, function(module) {
-
module.on("packet", function(e) {
-
try {
-
if (e.getPacket() instanceof C03PacketPlayer) {
-
e.cancelEvent()
-
}
-
} catch (err) {
-
Chat.print(err);
-
}
-
})
- })
- Why can't liquidbounce b100 call packet event? It doesn't work and outputs many errors, such as TypeError: null has no such function "get packet". I'm sure there are many other errors, but I don't understand. How can I call packet event now?
1/1