Fix ArrayIndexOutOfBoundsException when leaving the map
Trying to fix .gitignore stuff