Guys, who knows, how to check air under player, when isGround = true? Help, pls )
-
Check title
-
@antivacer what
-
if(BlockPos(player.pos).down().getBlock == Blocks.AIR) {
player.isOnGround = true
} -
@antivacer on ground = true means there's no air below you and you're on the ground
-
@antivacer what
-
This post is deleted! -
@notautismatall
jdk.nashorn.internal.runtime.ECMAException: ReferenceError: "player" is not defined
where is "player"? -