@Player
///api_version=2
(script = registerScript({
name: "CancelS08",
version: "1.0.0",
authors: ["FaaatPotato"]
}));
var S08 = Java.type("net.minecraft.network.play.server.S08PacketPlayerPosLook");
script.registerModule({
name: "CancelS08",
category: "Misc",
}, function (module) {
module.on("packet", function(e) {
if (e.getPacket() instanceof S08) {
e.cancelEvent();
}
});
});