fenomas / noa

Experimental voxel game engine.
MIT License
611 stars 87 forks source link

Air Jumping and Jumping Mid-Air are present #110

Closed sourcerose closed 4 years ago

sourcerose commented 4 years ago

It is possible to air jump still as seen here, http://serv1.epiclab.tk:8080/

How would I go about fixing?

fenomas commented 4 years ago

Hi, try this:

noa.entities.getMovement(noa.playerEntity).airJumps = 0
sourcerose commented 4 years ago

That Works :+1: Thanks