Cleaned up and changed some comments

This commit is contained in:
Rammelkast committed 2020-05-04 17:24:47 +02:00
1 parent b2701fa057
commit 3538b8934c
5 files changed
+7 -4

No files matched your search

@@ -100,6 +100,7 @@ public class FlightCheck {
&& !player.isInsideVehicle() && !YAxisCheck.isMoveUpBlock(player.getLocation().add(0, -1, 0).getBlock())
&& !YAxisCheck.isMoveUpBlock(player.getLocation().add(0, -0.5, 0).getBlock())) {
// TODO isMoveUpBlock does not seem to be a success with stairs
// I suddenly could not replicate this, man this check is a mess
if (y1 < y2) {
if (!block.getRelative(BlockFace.NORTH).isLiquid() && !block.getRelative(BlockFace.SOUTH).isLiquid()
&& !block.getRelative(BlockFace.EAST).isLiquid()