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

@@ -272,7 +272,6 @@ public final class Utilities {
*/
public static boolean isOnLilyPad(Player player) {
Block block = player.getLocation().getBlock();
// TODO: Can we fix X this?
return block.getType() == LILY_PAD || block.getRelative(BlockFace.NORTH).getType() == LILY_PAD
|| block.getRelative(BlockFace.SOUTH).getType() == LILY_PAD
|| block.getRelative(BlockFace.EAST).getType() == LILY_PAD