Skip to content

Commit

Permalink
Revert the "noslow bypass" fix for the moment.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lysandr0 committed Oct 14, 2024
1 parent 53d14f3 commit 53ff9d2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,10 +217,10 @@ private static void onChangeSlot(final PlayerItemHeldEvent e) {
// data.changeslot = false;
//}
if (e.getPreviousSlot() != e.getNewSlot()) {
if ((data.isUsingItem || p.isBlocking()) && data.playerMoves.getCurrentMove() != null) {
/*if ((data.isUsingItem || p.isBlocking()) && data.playerMoves.getCurrentMove() != null) {
p.getInventory().setHeldItemSlot(e.getPreviousSlot());
data.invalidItemUse = true;
}
}*/
data.isUsingItem = false;
}
}
Expand Down

0 comments on commit 53ff9d2

Please sign in to comment.