There's how far I got:
var WrappedListener = Java.extend((Java.type('net.ccbluex.liquidbounce.event.Listenable')), (Java.type('java.util.function.Consumer')), { handleEvents: function() { return module[0].state }, accept: function(e) { e instanceof PacketEvent && LiquidBounce.INSTANCE.eventManager.callEvent(new WrappedPacketEvent(e.getPacket().wrapped)); } }); function WrappedPacketEvent(packet) { var isCancelled; this.isCancelled = function() isCancelled; this.cancelEvent = function() { isCancelled = true; } this.getPacket = function() packet; }General
A place to ask for general support
753
Topics
3.5k
Posts
-
-
BlockBBEvent in scripts?
Solved -
-
-
-
-
bind module to right click?
Unsolved -
-
About loading scripts
Unsolved -
-
-
newgen crash
Unsolved -
can i extrcract it?
Unsolved -
Hit Delay Fix Mod crashes
Unsolved -
config bug / problem
Unsolved -
-
Fast Place
Unsolved -
This topic is deleted!
Unsolved -
-
This topic is deleted!
Solved