Skip to content

Commit

Permalink
Fix #372
Browse files Browse the repository at this point in the history
  • Loading branch information
Elikill58 committed Apr 26, 2023
1 parent c68931c commit 7136b24
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public void boatManager(PlayerMoveEvent e, NegativityPlayer np, FlyData data) {
}

@Check(name = "omega-craft", description = "Check when player keep their Y move", conditions = { CheckConditions.SURVIVAL, CheckConditions.NO_FIGHT, CheckConditions.NO_USE_TRIDENT,
CheckConditions.NO_FLY, CheckConditions.NO_SWIM, CheckConditions.NO_INSIDE_VEHICLE })
CheckConditions.NO_FLY, CheckConditions.NO_SWIM, CheckConditions.NO_INSIDE_VEHICLE, CheckConditions.NO_CLIMB_BLOCK })
public void omegaCraft(PlayerMoveEvent e, NegativityPlayer np, FlyData data) {
Player p = e.getPlayer();
if (Version.getVersion().isNewerOrEquals(Version.V1_9) && p.hasPotionEffect(PotionEffectType.LEVITATION))
Expand Down

0 comments on commit 7136b24

Please sign in to comment.