Skip to content

Commit

Permalink
fix bedaura crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Strangerrrs committed Jan 3, 2025
1 parent a62db5a commit f571aa0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ else if (ModuleManager.hud != null && ModuleManager.hud.isEnabled()) {
}

private void resetSlot() {
if (Raven.packetsHandler.playerSlot.get() != mc.thePlayer.inventory.currentItem && mode.getInput() == 2) {
if (Raven.packetsHandler != null && Raven.packetsHandler.playerSlot != null && Utils.nullCheck() && Raven.packetsHandler.playerSlot.get() != mc.thePlayer.inventory.currentItem && mode.getInput() == 2) {
setPacketSlot(mc.thePlayer.inventory.currentItem);
}
else if (lastSlot != -1) {
Expand Down

0 comments on commit f571aa0

Please sign in to comment.