Skip to content

Commit

Permalink
Fixed some "mode: floor/roof"
Browse files Browse the repository at this point in the history
  • Loading branch information
groundbreakingmc committed Jun 5, 2024
1 parent 4d9f4de commit b579181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/noslowdwn/voidfall/FallEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ private boolean checkMode(Player p, String mode, String world) {
VoidFall.debug("&You're trying to use a non-existent mod.");
VoidFall.debug("&cPath to: worlds." + world + ".mode");
VoidFall.debug("&cMode: " + mode);
return false;
return p.getLocation().getY() <= instance.getConfig().getInt("worlds." + world + ".execute-on-height", 0);
}
}
}

0 comments on commit b579181

Please sign in to comment.