-
Автор темы
- #1
Байпасит RW | HolyWorld | FunTime
Код:
@ModuleInfo(
name = "EcExploit",
category = Category.MISC,
description = "Какая то хуета под ногами"
)
@Getter
@Setter
public class EcExploit extends Module {
private ContainerScreen container;
@EventLink()
public final Listener<PacketReceiveEvent> onPlayerUpdate = event -> {
if (mc.currentScreen instanceof ChestScreen) container = (ContainerScreen) mc.currentScreen;
if (InputMappings.isKeyDown(mc.getMainWindow().getHandle(), GLFW.GLFW_KEY_INSERT) && container != null) mc.displayScreen(container);
if (event.packet instanceof CCloseWindowPacket) event.setCancelled(true);
if (event.packet instanceof SCloseWindowPacket) container = null;
};
}