kumpelblase2 / Remote-Entities

A library that enables you to control entities in minecraft.
Other
31 stars 28 forks source link

PlayerNavigation NPE #56

Closed IDragonfire closed 11 years ago

IDragonfire commented 11 years ago

if you try to move a player, a NullPointer comes.

reason: this.e == null:

tmp fix:

public float d() {
        if(this.e == null) {
            return 0.0f;
        }
        return (float) this.e.getValue();
    }