mirror of
https://github.com/Miasmusa/Shadow.git
synced 2024-11-14 19:04:54 -05:00
remove shid
This commit is contained in:
parent
2cf9e285ce
commit
67579cbde2
2 changed files with 0 additions and 59 deletions
|
@ -51,7 +51,6 @@ import net.shadow.client.feature.module.impl.misc.AllowFormatCodes;
|
|||
import net.shadow.client.feature.module.impl.misc.AntiCrash;
|
||||
import net.shadow.client.feature.module.impl.misc.AntiPacketKick;
|
||||
import net.shadow.client.feature.module.impl.misc.ClientSettings;
|
||||
import net.shadow.client.feature.module.impl.misc.DauntedAutoClaim;
|
||||
import net.shadow.client.feature.module.impl.misc.DiscordRPC;
|
||||
import net.shadow.client.feature.module.impl.misc.InfChatLength;
|
||||
import net.shadow.client.feature.module.impl.misc.MoreChatHistory;
|
||||
|
@ -320,7 +319,6 @@ public class ModuleRegistry {
|
|||
registerModule(new FlightCrash());
|
||||
registerModule(new ClickTP());
|
||||
registerModule(new ChestHighlighter());
|
||||
registerModule(new DauntedAutoClaim());
|
||||
registerModule(new MoreChatHistory());
|
||||
|
||||
rebuildSharedModuleList();
|
||||
|
|
|
@ -1,57 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Shadow client, 0x150, Saturn5VFive 2022. All rights reserved.
|
||||
*/
|
||||
|
||||
package net.shadow.client.feature.module.impl.misc;
|
||||
|
||||
import net.minecraft.client.util.math.MatrixStack;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.item.Items;
|
||||
import net.minecraft.network.packet.c2s.play.PlayerInteractItemC2SPacket;
|
||||
import net.minecraft.network.packet.c2s.play.UpdateSelectedSlotC2SPacket;
|
||||
import net.minecraft.util.Hand;
|
||||
import net.shadow.client.feature.module.Module;
|
||||
import net.shadow.client.feature.module.ModuleType;
|
||||
|
||||
public class DauntedAutoClaim extends Module {
|
||||
|
||||
public DauntedAutoClaim() {
|
||||
super("DauntedAutoClaim", "Daunted auto claim", ModuleType.MISC);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void tick() {
|
||||
for (int i = 0; i < 8; i++) {
|
||||
ItemStack selected = client.player.getInventory().getStack(i);
|
||||
if (selected.getItem().equals(Items.PAPER)) {
|
||||
int before = client.player.getInventory().selectedSlot;
|
||||
client.getNetworkHandler().sendPacket(new UpdateSelectedSlotC2SPacket(i));
|
||||
client.getNetworkHandler().sendPacket(new PlayerInteractItemC2SPacket(Hand.MAIN_HAND));
|
||||
client.getNetworkHandler().sendPacket(new UpdateSelectedSlotC2SPacket(before));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void enable() {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void disable() {
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getContext() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onWorldRender(MatrixStack matrices) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onHudRender() {
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue