Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fishshi committed Sep 29, 2024
1 parent 859be4f commit 9a0f5bf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public void onInitializeClient() {
ClientPlayerEvents.MODIFY_PLAYER_MOVEMENT_DURING_USINGITEM.register(player -> {
LOGGER.info("Player {} is moving during using item.", player);

if(player.getMainHandStack().isOf(Items.BOW) && player.getEquippedStack(EquipmentSlot.FEET).isOf(Items.DIAMOND_BOOTS)) {
if (player.getMainHandStack().isOf(Items.BOW) && player.getEquippedStack(EquipmentSlot.FEET).isOf(Items.DIAMOND_BOOTS)) {
LOGGER.info("Player {} can move without slowdown becase of diamond boots on feet.", player);
player.input.movementForward *= 5F;
player.input.movementSideways *= 5F;
Expand Down

0 comments on commit 9a0f5bf

Please sign in to comment.