Using a more efficient check.
This commit is contained in:
parent
44d8169b15
commit
cc6de168b3
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ public class SwimAssistModule extends PowerModuleBase implements IToggleableModu
|
|||
|
||||
@Override
|
||||
public void onPlayerTickActive(EntityPlayer player, ItemStack item) {
|
||||
if (player.isInWater() && !(player.ridingEntity instanceof EntityBoat)) {
|
||||
if (player.isInWater() && !(player.isRiding())) {
|
||||
ItemStack pants = player.getCurrentArmor(1);
|
||||
PlayerInputMap movementInput = PlayerInputMap.getInputMapFor(player.username);
|
||||
boolean jumpkey = movementInput.jumpKey;
|
||||
|
|
Loading…
Reference in a new issue