Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

Commit

Permalink
fix elytra enhance
Browse files Browse the repository at this point in the history
  • Loading branch information
cyilin committed Sep 7, 2018
1 parent f0717e0 commit 0cf7faa
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ public void playerMove(PlayerMoveEvent e) {
if (player.isGliding() &&
plugin.cfg.elytra_enhance_enabled &&
!plugin.cfg.disabled_world.contains(player.getWorld().getName()) &&
player.getLocation().getBlock().getType() == Material.AIR &&
player.getEyeLocation().getBlock().getType() == Material.AIR &&
player.getLocation().getBlock().isEmpty() &&
player.getEyeLocation().getBlock().isEmpty() &&
!disableFuelMode.containsKey(player.getUniqueId()) &&
!player.isSneaking()) {
if (!FuelMode.contains(player.getUniqueId()) &&
Expand Down

0 comments on commit 0cf7faa

Please sign in to comment.