Added a null check
Fixed plane movement
Merge branch 'master' of github.com:FlansMods/FlansMod