update to 1.21.5
This commit is contained in:
@@ -30,7 +30,7 @@ public class TridentItemMixin {
|
||||
{
|
||||
if (TridentHacks.noNormalRiptide())
|
||||
{
|
||||
world.playSoundFromEntity(player, SoundEvents.ITEM_TRIDENT_RIPTIDE_3.value(), SoundCategory.PLAYERS, 1.F, 1.F);
|
||||
world.playSoundFromEntity(player, player, SoundEvents.ITEM_TRIDENT_RIPTIDE_3.value(), SoundCategory.PLAYERS, 1.F, 1.F);
|
||||
TridentHacks.lastTridentUse = System.currentTimeMillis();
|
||||
}
|
||||
TridentHacks.onGround = false;
|
||||
@@ -41,7 +41,7 @@ public class TridentItemMixin {
|
||||
PlayerEntity player = TridentHacks.client.player;
|
||||
if (player != null)
|
||||
{
|
||||
TridentHacks.tridentSlot = (user.getOffHandStack() == stack) ? PlayerInventory.OFF_HAND_SLOT : player.getInventory().selectedSlot;
|
||||
TridentHacks.tridentSlot = (user.getOffHandStack() == stack) ? PlayerInventory.OFF_HAND_SLOT : player.getInventory().getSelectedSlot();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user